diff options
author | Sladyn <gunnerforlife00@gmail.com> | 2019-03-05 17:50:58 +0530 |
---|---|---|
committer | Sladyn <gunnerforlife00@gmail.com> | 2019-03-05 17:50:58 +0530 |
commit | cdd8167aa0c4a8942d5d92d3d600e03d7c4a5e31 (patch) | |
tree | 421abb4d0a43c0fc0925561c0c8204d266ba99c6 /commands/ls-id.go | |
parent | a45ece05e6cc02f8f9d8e669cc5ea942b0728eaa (diff) | |
download | git-bug-cdd8167aa0c4a8942d5d92d3d600e03d7c4a5e31.tar.gz |
Combined variable declaration and assignment
Diffstat (limited to 'commands/ls-id.go')
-rw-r--r-- | commands/ls-id.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/ls-id.go b/commands/ls-id.go index 55548556..3b0e476e 100644 --- a/commands/ls-id.go +++ b/commands/ls-id.go @@ -16,8 +16,7 @@ func runLsID(cmd *cobra.Command, args []string) error { } defer backend.Close() - var prefix string - prefix = "" + var prefix = "" if len(args) != 0 { prefix = args[0] } |