- fix uninitialized variable.

This commit is contained in:
Christoph Oelckers 2017-01-21 11:46:23 +01:00
parent 19df603f92
commit cbdf9870ec

View file

@ -8124,7 +8124,7 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
flag = argflags[i + implicit]; flag = argflags[i + implicit];
} }
FxExpression *x; FxExpression *x = nullptr;
if (foundvarargs && (Function->Variants[0].Flags & VARF_VarArg)) if (foundvarargs && (Function->Variants[0].Flags & VARF_VarArg))
{ {
// only cast implicit-string types for vararg, leave everything else as-is // only cast implicit-string types for vararg, leave everything else as-is