Merge
authorEdouard Tisserant
Mon, 04 Apr 2011 17:19:35 +0200
changeset 272 579db02bebd9
parent 271 4f281513277f (current diff)
parent 255 86ef2244aef1 (diff)
child 273 beb05fe75e0c
Merge
stage4/generate_c/generate_c.cc
--- a/stage4/generate_c/generate_c.cc	Mon Apr 04 17:13:03 2011 +0200
+++ b/stage4/generate_c/generate_c.cc	Mon Apr 04 17:19:35 2011 +0200
@@ -1083,7 +1083,9 @@
   s4o.print("(void) {\n");
   s4o.indent_right();
   s4o.print(s4o.indent_spaces);
-  s4o.print("BOOL retain = 0;\n");
+  s4o.print("BOOL retain;\n");
+  s4o.print(s4o.indent_spaces);
+  s4o.print("retain = 0;\n");
   
   /* (B.3) Global variables initializations... */
   s4o.print(s4o.indent_spaces);
@@ -1371,7 +1373,9 @@
       s4o.print("(void) {\n");
       s4o.indent_right();
       s4o.print(s4o.indent_spaces);
-      s4o.print("BOOL retain = 0;\n");
+      s4o.print("BOOL retain;\n");
+      s4o.print(s4o.indent_spaces);
+      s4o.print("retain = 0;\n");
       
       /* (B.2) Global variables initialisations... */
       if (current_global_vars != NULL) {