Skip to content

Commit

Permalink
seqc: remove useless breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
XPhyro committed Sep 8, 2024
1 parent f2fb114 commit 5576af1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/go/util/seqc.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,14 @@ func main() {
first = 1
increment = 1
last, err = charToInt(args[0])
break
case 2:
first, err = charToInt(args[0])
increment = 1
last, err = charToInt(args[1])
break
case 3:
first, err = charToInt(args[0])
increment, err = strconv.Atoi(args[1])
last, err = charToInt(args[2])
break
}

if err != nil {
Expand Down

0 comments on commit 5576af1

Please sign in to comment.