diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-03-14 11:09:38 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-03-16 06:53:59 +0000 |
commit | 08197a25c081f734b93065f6c7c7ce570b155758 (patch) | |
tree | f1ee3da176b347cbe7c0e14a5132b4403129244f /src/qml/jsruntime | |
parent | b1243b8c9ea0add1b7548428c8b0fcb8ee3ac71a (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/qml/jsruntime')
-rw-r--r-- | src/qml/jsruntime/qv4regexp.cpp | 2 |
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; |