mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-27 14:12:28 +00:00
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:
parent
935d49d75f
commit
f9ef935840
1 changed files with 1 additions and 1 deletions
|
@ -4078,7 +4078,7 @@ ExpEmit FxConcat::Emit(VMFunctionBuilder *build)
|
|||
}
|
||||
else
|
||||
{
|
||||
int cast;
|
||||
int cast = 0;
|
||||
strng2 = ExpEmit(build, REGT_STRING);
|
||||
if (op2.Konst)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue