C++: Remove UsingStrcpyAsBoolean.ql duplicates

This commit is contained in:
Jonas Jensen
2019-01-09 14:03:16 +01:00
parent 3a6a515a1d
commit 4dd36772ef
2 changed files with 1 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ from FunctionCall func, Expr expr1, string msg
where
(
isStringCopyCastedAsBoolean(func, expr1, msg) and
not isStringCopyUsedInLogicalOperationOrCondition(func, expr1, _)
not isStringCopyUsedInLogicalOperationOrCondition(func, _, _)
)
or
isStringCopyUsedInLogicalOperationOrCondition(func, expr1, msg)