Skip to content

Commit

Permalink
Getting rid of unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafe Colton committed Dec 2, 2014
1 parent e8e1ef0 commit 5335929
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions git.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ func RemoteAccount(top string) string {

lines := strings.Split(string(remotes), "\n")

var ret string

for _, line := range lines {
matches := GitRemoteRegex.FindStringSubmatch(line)
if len(matches) == 7 {
Expand All @@ -163,7 +161,7 @@ func RemoteAccount(top string) string {
}
}

return ret
return ""
}

func initializeRunner() {
Expand Down

0 comments on commit 5335929

Please sign in to comment.