mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
Combined variable declaration and assignment
This commit is contained in:
parent
a45ece05e6
commit
cdd8167aa0
@ -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]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user