aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2018-01-23 12:20:52 +0100
committerJesus Fernandez <Jesus.Fernandez@qt.io>2018-02-07 08:46:15 +0000
commit9fbb5d485f429da022c58948937105dd9206130e (patch)
tree1a9bca2505f6ae71eafcf27540fc819b4537e655 /src/qml/compiler
parent11ac71e766c326c1022d64cee49eea26bb7f0a21 (diff)
Remove unnecesary checks
CID 186959 (#1 of 1): Macro compares unsigned to 0 (NO_EFFECT) unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. rev >= 0. CID 186960 (#2 of 2): Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands: rev <= 255 /* std::numeric_limits<unsigned char>::max() */ is always true regardless of the values of its operands. This occurs as the logical first operand of ?:. Coverity-Id: 186959 Coverity-Id: 186960 Change-Id: Iaadadb89de1c8732b2756da8fda397632b6b7d93 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/qml/compiler')
0 files changed, 0 insertions, 0 deletions