From 442cb3c3b216faa6a1bc7018d1d1d5719dbecfbd Mon Sep 17 00:00:00 2001 From: AlexandruAntonescuKeysight Date: Fri, 19 Apr 2024 17:26:14 +0300 Subject: [PATCH] test codeqll --- et_feeder/et_feeder.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/et_feeder/et_feeder.cpp b/et_feeder/et_feeder.cpp index 061a811d..6cce38a4 100644 --- a/et_feeder/et_feeder.cpp +++ b/et_feeder/et_feeder.cpp @@ -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 + } +}