Put braces around code block to prevent variable declarations after statements. Fixes...
authorJonathan Chambers <joncham@gmail.com>
Fri, 17 Jun 2011 12:23:13 +0000 (08:23 -0400)
committerJonathan Chambers <joncham@gmail.com>
Fri, 17 Jun 2011 12:23:13 +0000 (08:23 -0400)
mono/mini/method-to-ir.c

index 1005893c6e7585cae0f055eb193dc01c81d8d63c..312f5b7e1f08959b76d3f9c58c157908be808326 100644 (file)
@@ -4508,6 +4508,7 @@ mini_emit_inst_for_method (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSign
                        return (MonoInst*)call;
                }
 #elif defined(MONO_ARCH_ENABLE_MONITOR_IL_FASTPATH)
+               {
                MonoMethod *fast_method = NULL;
 
                /* Avoid infinite recursion */
@@ -4523,6 +4524,7 @@ mini_emit_inst_for_method (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSign
                        return NULL;
 
                return (MonoInst*)mono_emit_method_call (cfg, fast_method, args, NULL);
+               }
 #endif
        } else if (cmethod->klass->image == mono_defaults.corlib &&
                           (strcmp (cmethod->klass->name_space, "System.Threading") == 0) &&