mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 16:40:56 +00:00
Fixed compilation error reported by GCC
This commit is contained in:
parent
6037ecb6a1
commit
3a039b1e44
1 changed files with 1 additions and 1 deletions
|
@ -1236,7 +1236,7 @@ bool ZCCCompiler::CompileFields(PStruct *type, TArray<ZCC_VarDeclarator *> &Fiel
|
||||||
if (OutNamespace->Symbols.AddSymbol(field) == nullptr)
|
if (OutNamespace->Symbols.AddSymbol(field) == nullptr)
|
||||||
{ // name is already in use
|
{ // name is already in use
|
||||||
field->Destroy();
|
field->Destroy();
|
||||||
return nullptr;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue