protinfo: return value of evaluated expression

This commit is contained in:
unclejack 2016-12-13 15:42:10 +02:00 committed by Vish Ishaya
parent 7a823e360e
commit 05458f3920
1 changed files with 1 additions and 4 deletions

View File

@ -46,8 +46,5 @@ func boolToByte(x bool) []byte {
} }
func byteToBool(x byte) bool { func byteToBool(x byte) bool {
if uint8(x) != 0 { return uint8(x) != 0
return true
}
return false
} }