Skip to content

Commit

Permalink
corrected wasted assign
Browse files Browse the repository at this point in the history
  • Loading branch information
bgn42 committed Dec 14, 2023
1 parent 97b392d commit 9f1fc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/eventlist/cmd/eventlist/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func infoOpt(flags *flag.FlagSet, sopt string, lopt string, arg bool) error {
if err != nil {
return err
}
n := 0
var n int
if sopt != "" {
if n, err = fmt.Printf("-%s", sopt); err != nil {
return err
Expand Down

0 comments on commit 9f1fc97

Please sign in to comment.