Skip to content

Commit f2728f5

Browse files
authored
delete some unused code
1 parent afe4a84 commit f2728f5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-362/double-fetch.ql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ class CopyFromUserFunctionCall extends FunctionCall{
2323
and not this.getArgument(1) instanceof AddressOfExpr
2424
}
2525

26-
/*predicate hasSameArguments(CopyFromUserFunctionCall another){
27-
this.getArgument(0).toString() = another.getArgument(0).toString()
28-
and this.getArgument(1).toString() = another.getArgument(1).toString()
29-
}*/
26+
3027

3128
predicate hasSameArguments(CopyFromUserFunctionCall another) {
3229
globalValueNumber(this.getArgument(0)) = globalValueNumber(another.getArgument(0))

0 commit comments

Comments
 (0)