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 9a5d2e3 commit 96a57a2Copy full SHA for 96a57a2
src/util/cilCfg.ml
@@ -29,7 +29,7 @@ class countLoopsVisitor(count) = object
29
inherit nopCilVisitor
30
31
method! vstmt stmt = match stmt.skind with
32
- | Loop _ -> count := !count + 1; DoChildren
+ | Loop _ -> incr count; DoChildren
33
| _ -> DoChildren
34
35
end
0 commit comments