mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +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
|
else
|
||||||
{
|
{
|
||||||
int cast;
|
int cast = 0;
|
||||||
strng2 = ExpEmit(build, REGT_STRING);
|
strng2 = ExpEmit(build, REGT_STRING);
|
||||||
if (op2.Konst)
|
if (op2.Konst)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue