Skip to content

Commit 605db44

Browse files
committed
CPP: Fix for consistency.
1 parent 94ff2e5 commit 605db44

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/Printf.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class Syslog extends FormattingFunction {
203203
this instanceof TopLevelFunction and (
204204
hasGlobalName("syslog")
205205
) and
206-
not hasDefinition()
206+
not exists(getDefinition().getFile().getRelativePath())
207207
}
208208

209209
override int getFormatParameterIndex() { result=1 }

0 commit comments

Comments
 (0)