- fixed redundant variable declaration shadowing an outer one.

This commit is contained in:
Christoph Oelckers 2017-01-21 13:26:26 +01:00
parent 2a6fafa15e
commit 45d3b58cc6

View file

@ -8133,7 +8133,7 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
if (ArgList[i]->ValueType == TypeName ||
ArgList[i]->ValueType == TypeSound)
{
FxExpression* x = new FxStringCast(ArgList[i]);
x = new FxStringCast(ArgList[i]);
x = x->Resolve(ctx);
}
else x = ArgList[i];