We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c76aa commit 002f667Copy full SHA for 002f667
lib/valueflow.cpp
@@ -909,7 +909,7 @@ static void valueFlowBitAnd(TokenList *tokenlist)
909
while (bit <= (MathLib::bigint_bits - 2) && ((((MathLib::bigint)1) << bit) < number))
910
++bit;
911
912
- if (((MathLib::bigint)1) << bit) == number) {
+ if ((((MathLib::bigint)1) << bit) == number) {
913
setTokenValue(tok, ValueFlow::Value(0), tokenlist->getSettings());
914
setTokenValue(tok, ValueFlow::Value(number), tokenlist->getSettings());
915
}
0 commit comments