mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
Fixed compilation with Clang
src/scripting/backend/codegen.cpp:8568:10: error: cannot initialize return object of type 'FxExpression *' with an rvalue of type 'bool'
This commit is contained in:
parent
f28bdf12a0
commit
4eb9f662cb
1 changed files with 1 additions and 1 deletions
|
@ -8565,7 +8565,7 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
|
||||||
if (!CheckAccessibility(ctx.Version))
|
if (!CheckAccessibility(ctx.Version))
|
||||||
{
|
{
|
||||||
delete this;
|
delete this;
|
||||||
return false;
|
return nullptr;
|
||||||
}
|
}
|
||||||
// This should never happen.
|
// This should never happen.
|
||||||
if (Self == nullptr && (Function->Variants[0].Flags & VARF_Method))
|
if (Self == nullptr && (Function->Variants[0].Flags & VARF_Method))
|
||||||
|
|
Loading…
Reference in a new issue