mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
fix formatting
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
@@ -33,9 +33,7 @@ predicate dominatingInitInFunc(GlobalVariable v, Function f, ControlFlowNode nod
|
||||
|
||||
predicate safeAccess(VariableAccess access) {
|
||||
// it is safe if the variable access is part of a `sizeof` expression
|
||||
exists(SizeofExprOperator e |
|
||||
e.getAChild*() = access
|
||||
)
|
||||
exists(SizeofExprOperator e | e.getAChild*() = access)
|
||||
}
|
||||
|
||||
predicate useFunc(GlobalVariable v, Function f) {
|
||||
|
||||
Reference in New Issue
Block a user