Fixes potential error being ignored.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
cb2f902194
commit
3bd5bb3fe6
|
@ -321,7 +321,7 @@ void AngelScriptResolver::RegisterScriptType(asITypeInfo* typeInfo, const ArbUt:
|
|||
}
|
||||
}
|
||||
void AngelScriptResolver::CreateScript(const char* name, const char* script) {
|
||||
_builder.AddSectionFromMemory(name, script);
|
||||
EnsureGreater(_builder.AddSectionFromMemory(name, script), 0);
|
||||
}
|
||||
void AngelScriptResolver::WriteByteCodeToFile(const char* file, bool stripDebugInfo) {
|
||||
FILE* wFile = nullptr;
|
||||
|
|
Loading…
Reference in New Issue