Fix MSVC warning about unused variable
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Tue, 19 May 2015 09:07:43 +0000 (11:07 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Tue, 19 May 2015 10:53:32 +0000 (10:53 +0000)
Change-Id: I9b2f21dd7cfc82a9da9aa3e4c60d47fa07fdceaf
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jsruntime/qv4engine.cpp

index 33559d8e6969a04a11992bb3cce30fece71b6e35..5e450859ec78b7ec5a02df40a67bd562b1a4338f 100644 (file)
@@ -1627,6 +1627,7 @@ void ExecutionEngine::assertObjectBelongsToEngine(const Value &v)
 {
     Q_UNUSED(v);
     Q_ASSERT(!v.isObject() || v.objectValue()->engine() == this);
+    Q_UNUSED(v);
 }
 
 // Converts a JS value to a meta-type.