首页 » 技术分享 » pointless comparison of unsigned integer with zero

pointless comparison of unsigned integer with zero

 

pointless comparison of unsigned integer with zero

warning:  #186-D: pointless comparison of unsigned integer with zero 

解释:无符号整形和0的无意义比较 

影响:一个潜在的问题,判断无符号数大于等于0.由于无符号数没有负数,这种判断恒为真. 

转载自原文链接, 如需删除请联系管理员。

原文链接:pointless comparison of unsigned integer with zero,转载请注明来源!

0