mirror of
https://github.com/github/codeql.git
synced 2026-03-30 20:28:15 +02:00
7 lines
185 B
Plaintext
7 lines
185 B
Plaintext
import codeql.ruby.ast.Variable
|
|
|
|
query predicate ambiguousVariable(VariableAccess access, Variable variable) {
|
|
access.getVariable() = variable and
|
|
count(access.getVariable()) > 1
|
|
}
|