Fix Windows compilation after https://codereview.scilab.org/#/c/14072/
[scilab.git] / scilab / modules / core / src / c / expr.c
index a4d0905..c7bf471 100644 (file)
@@ -627,12 +627,12 @@ L103:
     C2F(getsym)();
     if (op == equal && C2F(com).sym != equal)
     {
+        int code_message = 7;
         if (C2F(com).sym == great || C2F(com).sym == less)
         {
             SciError(2);
             return 0;
         }
-        int code_message = 7;
         C2F(msgs)(&code_message, &val);
     }