mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01: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
|
|
}
|