Skip to content

Commit c088443

Browse files
committed
Format query
1 parent 32d7faa commit c088443

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/ql/src/Security/CWE/CWE-190/ComparisonWithWiderType.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ Element friendlyLoc(Expr e) {
4646
}
4747

4848
int getComparisonSizeAdjustment(Expr e) {
49-
if e.getType().(IntegralType).isSigned()
50-
then result = 1
51-
else result = 0
49+
if e.getType().(IntegralType).isSigned() then result = 1 else result = 0
5250
}
5351

5452
from Loop l, RelationalOperation rel, VariableAccess small, Expr large

0 commit comments

Comments
 (0)