Unnecessary bracket

This commit is contained in:
Arran Ubels 2023-02-15 16:10:45 +11:00
parent 094aad3f21
commit 53a8cbdf09
No known key found for this signature in database
GPG Key ID: 135EDC7B21D17F48

View File

@ -269,7 +269,7 @@ iterRunes:
//r := rune(datestr[i])
r, bytesConsumed := utf8.DecodeRuneInString(datestr[i:])
if bytesConsumed > 1 {
i += (bytesConsumed - 1)
i += bytesConsumed - 1
}
// gou.Debugf("i=%d r=%s state=%d %s", i, string(r), p.stateDate, datestr)