diff --git a/extern/angelscript_addons/scripthelper/scripthelper.cpp b/extern/angelscript_addons/scripthelper/scripthelper.cpp index 4af4fde..bb85b65 100644 --- a/extern/angelscript_addons/scripthelper/scripthelper.cpp +++ b/extern/angelscript_addons/scripthelper/scripthelper.cpp @@ -975,7 +975,7 @@ string ScriptGetExceptionInfo() void RegisterExceptionRoutines(asIScriptEngine *engine) { - int r; + [[maybe_unused]] int r; // The string type must be available assert(engine->GetTypeInfoByDecl("string"));