From 639d7e977fbe41cd3ec2d5b277259a9b3f198a21 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 27 Mar 2021 23:07:31 +0100 Subject: [PATCH] Fixes unused variable in scripthelper.cpp. --- extern/angelscript_addons/scripthelper/scripthelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"));