Skip to content
Snippets Groups Projects
Commit c9a83da1 authored by Kostyantyn Vorobyov's avatar Kostyantyn Vorobyov
Browse files

Stylistic issues

parent 5e4953b2
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ class jump_context = object (_)
| Loop(_) | Switch(_) ->
add_locals stmt (List.flatten locals);
Stack.push stmt jumps;
Cil.DoChildrenPost (fun st -> let _ = Stack.pop jumps in st)
Cil.DoChildrenPost (fun st -> ignore(Stack.pop jumps); st)
| Break(_) | Continue(_) ->
add_exit stmt (Stack.top jumps);
add_locals stmt (List.flatten locals);
......@@ -136,4 +136,4 @@ end
let generate fct =
assert (is_empty ());
let _ = Cil.visitCilFunction (new jump_context :> Cil.cilVisitor) fct in ()
ignore (Cil.visitCilFunction (new jump_context :> Cil.cilVisitor) fct)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment