Skip to content

Commit

Permalink
unused casting
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani committed Jul 18, 2024
1 parent 3d311b6 commit 572e8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hermes/cmd/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func exportToFlagValue(f *plugin.Flag) (interface{}, error) {
case plugin.FlagTypeInt:
v, err := strconv.Atoi(flagValue(f))
if err != nil {
return int(0), err
return 0, err
}
return v, nil
case plugin.FlagTypeUint:
Expand Down

0 comments on commit 572e8f3

Please sign in to comment.