Skip to content

Commit cf60b62

Browse files
fix formatting
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
1 parent 809d1d5 commit cf60b62

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/ql/src/Critical/GlobalUseBeforeInit.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ predicate dominatingInitInFunc(GlobalVariable v, Function f, ControlFlowNode nod
3333

3434
predicate safeAccess(VariableAccess access) {
3535
// it is safe if the variable access is part of a `sizeof` expression
36-
exists(SizeofExprOperator e |
37-
e.getAChild*() = access
38-
)
36+
exists(SizeofExprOperator e | e.getAChild*() = access)
3937
}
4038

4139
predicate useFunc(GlobalVariable v, Function f) {

0 commit comments

Comments
 (0)