Преглед изворни кода

Fix a segfault when compiling with gcc -O3

mingodad пре 9 година
родитељ
комит
faf042b87f
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      SquiLu/squirrel/sqcompiler.cpp

+ 1 - 0
SquiLu/squirrel/sqcompiler.cpp

@@ -886,6 +886,7 @@ public:
             id = _fs->CreateString(_lex.data->svalue);
         }
         //else id = {}; //old compilers do not allow this
+        else id._type = OT_NULL;
 
 		LogicalOrExp();
 		switch(_token)  {