From 89ceb8df764c5e025502bea0ae05f92a1536ccde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Pasteur?= Date: Thu, 22 Jul 2010 17:38:11 +0200 Subject: [PATCH] Fixed duplicate declaration of local vars --- compiler/obc/c/cgen.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/obc/c/cgen.ml b/compiler/obc/c/cgen.ml index 841dfa8..7029e5b 100644 --- a/compiler/obc/c/cgen.ml +++ b/compiler/obc/c/cgen.ml @@ -570,7 +570,7 @@ let fun_def_of_step_fun name obj_env mem objs md = f_retty = Cty_void; f_args = args; f_body = { - var_decls = local_vars @ out_vars; + var_decls = out_vars; block_body = body } }