Skip to content

Commit

Permalink
cmd/snap-preseed: address deadcode linter
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
  • Loading branch information
anonymouse64 committed Mar 22, 2022
1 parent 075912a commit b8f8faa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/snap-preseed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ type options struct {
}

var (
osGetuid = os.Getuid
Stdout io.Writer = os.Stdout
Stderr io.Writer = os.Stderr
osGetuid = os.Getuid
// unused currently, left in place for consistency for when it is needed
// Stdout io.Writer = os.Stdout
Stderr io.Writer = os.Stderr

opts options
)
Expand Down

0 comments on commit b8f8faa

Please sign in to comment.