mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
ruby: fix FP
This commit is contained in:
@@ -70,7 +70,7 @@ def test_loop
|
||||
end
|
||||
|
||||
def test_for
|
||||
for i in 0..10 #$ SPURIOUS: Alert
|
||||
for i in 0..10 # OK - since 0..10 cannot raise
|
||||
i
|
||||
end
|
||||
i #$ SPURIOUS: Alert
|
||||
|
||||
Reference in New Issue
Block a user