Fixes unused variable in scriptdictionary.cpp
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -1068,7 +1068,7 @@ void RegisterScriptDictionary(asIScriptEngine *engine)
|
||||
|
||||
void RegisterScriptDictionary_Native(asIScriptEngine *engine)
|
||||
{
|
||||
int r;
|
||||
[[maybe_unused]] int r;
|
||||
|
||||
// The array<string> type must be available
|
||||
assert( engine->GetTypeInfoByDecl("array<string>") );
|
||||
@@ -1147,7 +1147,7 @@ void RegisterScriptDictionary_Native(asIScriptEngine *engine)
|
||||
|
||||
void RegisterScriptDictionary_Generic(asIScriptEngine *engine)
|
||||
{
|
||||
int r;
|
||||
[[maybe_unused]] int r;
|
||||
|
||||
// Register the cleanup callback for the object type cache
|
||||
engine->SetEngineUserDataCleanupCallback(SDictionaryCache::Cleanup, DICTIONARY_CACHE);
|
||||
|
||||
Reference in New Issue
Block a user