mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Remove redundant term
It's hard to tell what the original intention was, but I don't think the location of qs should be the same as the location of q, so this term is redundant.
This commit is contained in:
@@ -11,7 +11,6 @@ class SqlTest extends InlineExpectationsTest {
|
||||
exists(SQL::Query q, SQL::QueryString qs | qs = q.getAQueryString() |
|
||||
q.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
|
||||
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
|
||||
qs.hasLocationInfo(_, _, _, _, _) and
|
||||
element = q.toString() and
|
||||
value = qs.toString()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user