Fixed warning reported by GCC/Clang when optimization is enabled

src/scripting/codegeneration/codegen.cpp:4097:12: warning: variable 'cast' is used uninitialized whenever 'if' condition is false
This commit is contained in:
alexey.lysiuk 2017-01-22 17:00:36 +02:00
parent 935d49d75f
commit f9ef935840
1 changed files with 1 additions and 1 deletions

View File

@ -4078,7 +4078,7 @@ ExpEmit FxConcat::Emit(VMFunctionBuilder *build)
} }
else else
{ {
int cast; int cast = 0;
strng2 = ExpEmit(build, REGT_STRING); strng2 = ExpEmit(build, REGT_STRING);
if (op2.Konst) if (op2.Konst)
{ {