mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-30 15:41:47 +00:00
- fix uninitialized variable.
This commit is contained in:
parent
19df603f92
commit
cbdf9870ec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue