From 86d35458626e9ddb67bad7aa864abb61f99435dc Mon Sep 17 00:00:00 2001 From: bogem Date: Sun, 23 Oct 2016 14:56:08 +0200 Subject: Clean up code --- flag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flag.go') diff --git a/flag.go b/flag.go index fa81564..6263a63 100644 --- a/flag.go +++ b/flag.go @@ -635,7 +635,7 @@ func (f *FlagSet) VarPF(value Value, name, shorthand, usage string) *Flag { // VarP is like Var, but accepts a shorthand letter that can be used after a single dash. func (f *FlagSet) VarP(value Value, name, shorthand, usage string) { - _ = f.VarPF(value, name, shorthand, usage) + f.VarPF(value, name, shorthand, usage) } // AddFlag will add the flag to the FlagSet -- cgit v1.2.3