Fixes unused variable in scriptdictionary.cpp
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
057884b0a5
commit
acf7d1cc6e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue