This commit is contained in:
@@ -975,7 +975,8 @@ string ScriptGetExceptionInfo()
|
||||
|
||||
void RegisterExceptionRoutines(asIScriptEngine *engine)
|
||||
{
|
||||
int r;
|
||||
[[maybe_unused]]
|
||||
int r;
|
||||
|
||||
// The string type must be available
|
||||
assert(engine->GetTypeInfoByDecl("string"));
|
||||
|
||||
@@ -112,7 +112,8 @@ static void StringJoin_Generic(asIScriptGeneric *gen)
|
||||
// The string type must have been registered first.
|
||||
void RegisterStdStringUtils(asIScriptEngine *engine)
|
||||
{
|
||||
int r;
|
||||
[[maybe_unused]]
|
||||
int r;
|
||||
|
||||
if( strstr(asGetLibraryOptions(), "AS_MAX_PORTABILITY") )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user