소스 검색

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)  {