We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c657a31 commit d621a07Copy full SHA for d621a07
ruby/ql/src/queries/variables/UninitializedLocal.ql
@@ -82,7 +82,7 @@ class RelevantLocalVariableReadAccess extends LocalVariableReadAccess {
82
not exists(ConditionalExpr c | factor(c.getCondition(), this.getVariable().getAnAccess()) |
83
this = c.getBranch(true).getAChild*()
84
) and
85
- not exists(ConditionalLoop l | loopProtects(l, this))
+ not loopProtects(_, this)
86
}
87
88
0 commit comments