Static-check fixes from @lespea #1657, batch 2/n (#1704)

This commit is contained in:
John Kerl 2024-10-27 11:50:15 -04:00 committed by GitHub
parent 047cb4bc28
commit cc8a3c4b4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 22 additions and 22 deletions

View file

@ -14,7 +14,7 @@ func BooleanXOR(a, b bool) bool {
}
func BoolToInt(b bool) int64 {
if b == false {
if !b {
return 0
} else {
return 1