Coverity check on master@375ea16 CIDs 83526, 83527, 83528, 83529, 83530 :
Logically dead code in file unittests/TEST_basictypes.cpp - CID 83526: At function test_Corner_toString_fromString() for-loop, - use "<=" as comparison operator for staying in loop; - replace ++i by i *= 2 on iteration action. Reason: The values of the Corner enum are represented as 0x1, 0x2, 0x4, 0x8. - CID 83527: At function test_RoleType_toString_fromString() for-loop, use "<=" as comparison operator for staying in loop. - CID 83528: At function test_RoleType_toString_fromString() for-loop, use "<=" as comparison operator for staying in loop. - CID 83529: At function test_Region_toString_fromString() for-loop, use "<=" as comparison operator for staying in loop. - CID 83530: At function test_ProgrammingLanguage_toString_fromString() for-loop, use "<=" as comparison operator for staying in loop. CCBUG:340646
parent
fa86095a
Please register or sign in to comment