Skip to content

Commit

Permalink
test codeqll
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandruAntonescuKeysight committed Apr 19, 2024
1 parent c9be9e0 commit 442cb3c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions et_feeder/et_feeder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,15 @@ void ETFeeder::readNextWindow() {
}
}
}

#define FLAGS 0x4004

void f_warning(int i)
{
// The usage of the logical not operator in this case is unlikely to be correct
// as the output is being used as an operator for a bit-wise and operation
if (i & !FLAGS)
{
// code
}
}

0 comments on commit 442cb3c

Please sign in to comment.