Skip to content

Commit 8455a12

Browse files
update message
1 parent 880c39a commit 8455a12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/drivers/general/queries/InvalidFunctionPointerAnnotation/InvalidFunctionPointerAnnotation.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,5 @@ af.getAnAccess() = access and
7979
baseType = t.getBaseType().toString().replaceAll("*", "").trim() and
8080
baseType = funcClass.replaceAll("*", "").trim()
8181
)
82-
select callingFunc.getArgument(n), "Function pointer annotation " + funcClass +
83-
" does not match the function class " + expectedFuncClass + " on the function pointer type"
82+
select callingFunc.getArgument(n), "Function pointer annotation mismatch. Function pointer type: "+expectedFuncClass+". Function annotation: "+funcClass
8483

0 commit comments

Comments
 (0)