aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-03-14 11:09:38 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2018-03-16 06:53:59 +0000
commit08197a25c081f734b93065f6c7c7ce570b155758 (patch)
treef1ee3da176b347cbe7c0e14a5132b4403129244f /src
parentb1243b8c9ea0add1b7548428c8b0fcb8ee3ac71a (diff)
Add Q_UNUSED(engine) to fix build on iOS
Change-Id: I47e84ee2c3f36dae9354e54b68ac60001703bf3d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/jsruntime/qv4regexp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4regexp.cpp b/src/qml/jsruntime/qv4regexp.cpp
index d99536829b..e10493b879 100644
--- a/src/qml/jsruntime/qv4regexp.cpp
+++ b/src/qml/jsruntime/qv4regexp.cpp
@@ -111,6 +111,8 @@ void Heap::RegExp::init(ExecutionEngine *engine, const QString &pattern, bool ig
JSC::JSGlobalData dummy(internalClass->engine->regExpAllocator);
JSC::Yarr::jitCompile(yarrPattern, JSC::Yarr::Char16, &dummy, *jitCode);
}
+#else
+ Q_UNUSED(engine)
#endif
if (hasValidJITCode()) {
valid = true;