Skip to content

Commit

Permalink
Remove unncessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mkchoi212 committed Jan 1, 2018
1 parent 41a8085 commit a3fceef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func NextConflict(g *gocui.Gui, v *gocui.View) error {

for originalCur != cur {
cur++
if cur >= conflictCount {
if cur >= conflict.Count {
cur = 0
}
}
Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (

var (
cur = 0
conflictCount = 0
consecutiveError = 0
)

Expand Down

0 comments on commit a3fceef

Please sign in to comment.