1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Used the ignoreUnused() function to tidy up some old code

This commit is contained in:
jules 2015-12-23 16:27:50 +00:00
parent 7988190e73
commit 4583fa3fbf
55 changed files with 98 additions and 111 deletions

View file

@ -1466,7 +1466,7 @@ struct JavascriptEngine::RootObject : public DynamicObject
}
static Identifier getClassName() { static const Identifier i ("Object"); return i; }
static var dump (Args a) { DBG (JSON::toString (a.thisObject)); (void) a; return var::undefined(); }
static var dump (Args a) { DBG (JSON::toString (a.thisObject)); ignoreUnused (a); return var::undefined(); }
static var cloneFn (Args a) { return a.thisObject.clone(); }
};