Skip to content

Commit 72d3261

Browse files
authored
Merge pull request #10476 from erik-krogh/ruby-unqueryable
ruby: remove unused predicate from NfaUtilsSpecific
2 parents f826342 + 0645b11 commit 72d3261

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ruby/ql/lib/codeql/ruby/security/regexp/NfaUtilsSpecific.qll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ module RegExpFlags {
6363
root.getLiteral().isIgnoreCase()
6464
}
6565

66-
/**
67-
* Gets the flags for `root`, or the empty string if `root` has no flags.
68-
*/
69-
string getFlags(RegExpTerm root) {
70-
root.isRootTerm() and
71-
result = root.getLiteral().getFlags()
72-
}
73-
7466
/**
7567
* Holds if `root` has the `s` flag for multi-line matching.
7668
*/

0 commit comments

Comments
 (0)