Rejecting an unsigned comparison with zero would be a
language change.
That’s what I would say, too. If there is no legal way that it can be used, then it’s use must be illegal – hence fit for detection.
John
John Souvestre - New Orleans LA
--
if false {
foo()
bar()
}
func log(msg string, level uint) {
if level < appLevel {
triggerBigNetworkLogTool(msg)
}
}
func log(msg string, level uint) {
if level < appLevel {
return
}
triggerBigNetworkLogTool(msg)
}