Skip to content

Commit 6d4b7c8

Browse files
committed
C++: Remove superfluous 'and any()'
1 parent c04ba7b commit 6d4b7c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/ql/src/Likely Bugs/Conversion/ImplicitDowncastFromBitfield.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ where
2323
fi.getNumBits() > fct.getSize() * 8 and
2424
va.getExplicitlyConverted().getType().getSize() > fct.getSize() and
2525
va.getTarget() = fi and
26-
not fct.getUnspecifiedType() instanceof BoolType and
27-
any()
26+
not fct.getUnspecifiedType() instanceof BoolType
2827
select va, "Implicit downcast of bitfield $@", fi, fi.toString()

0 commit comments

Comments
 (0)