Fixes for Windows ;_;
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-01-12 18:20:59 +01:00
parent ca707e5384
commit 72c2e38ea8
14 changed files with 71 additions and 49 deletions

View File

@@ -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"));

View File

@@ -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") )
{