mirror of
https://github.com/github/codeql.git
synced 2026-04-20 06:24:03 +02:00
cpp: removed now unused predicate commandLineArg
This commit is contained in:
committed by
Jeroen Ketema
parent
c74321a2ee
commit
703aec1990
@@ -77,16 +77,6 @@ class SecurityOptions extends string {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An access to the argv argument to main().
|
||||
*/
|
||||
private predicate commandLineArg(Expr e) {
|
||||
exists(Parameter argv |
|
||||
argv(argv) and
|
||||
argv.getAnAccess() = e
|
||||
)
|
||||
}
|
||||
|
||||
/** The argv parameter to the main function */
|
||||
predicate argv(Parameter argv) {
|
||||
exists(Function f |
|
||||
|
||||
Reference in New Issue
Block a user