aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-05-19 09:16:44 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2015-05-19 07:40:02 +0000
commit2cb2c8f9e12fe72bab6e0a627e34d89d9d2689b2 (patch)
tree030d378a3405a2a4af030ddeedcf62c9a1d1d315 /src
parent30aa0a1cc9812bd2a9ead91e3f412808ebe7daff (diff)
MSVC: Fix compiler warning
Fix compiler warning introduced in commit d76921e3082cd31: jsruntime\qv4engine.cpp(1626) : warning C4100: 'v' : unreferenced formal parameter Change-Id: I1f2b74f8e3fb14019f6e28b407d0336b0812c573 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/qml/jsruntime/qv4engine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
index 3b89851d81..33559d8e69 100644
--- a/src/qml/jsruntime/qv4engine.cpp
+++ b/src/qml/jsruntime/qv4engine.cpp
@@ -1625,6 +1625,7 @@ QV4::ReturnedValue ExecutionEngine::metaTypeToJS(int type, const void *data)
void ExecutionEngine::assertObjectBelongsToEngine(const Value &v)
{
+ Q_UNUSED(v);
Q_ASSERT(!v.isObject() || v.objectValue()->engine() == this);
}