mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
delete all dead code
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
import python
|
||||
|
||||
class ImplicitConcat extends StrConst {
|
||||
ImplicitConcat() { exists(this.getAnImplicitlyConcatenatedPart()) }
|
||||
}
|
||||
|
||||
from StringPart s
|
||||
select s.getLocation().getStartLine(), s.getText(), s.getLocation().getStartColumn(),
|
||||
s.getLocation().getEndColumn()
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
import python
|
||||
|
||||
class ImplicitConcat extends StrConst {
|
||||
ImplicitConcat() { exists(this.getAnImplicitlyConcatenatedPart()) }
|
||||
}
|
||||
|
||||
from StrConst s, StringPart part, int n
|
||||
where part = s.getImplicitlyConcatenatedPart(n)
|
||||
select s.getLocation().getStartLine(), s.getText(), n, part.getText()
|
||||
|
||||
Reference in New Issue
Block a user