aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4regexp.cpp')
-rw-r--r--src/qml/jsruntime/qv4regexp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4regexp.cpp b/src/qml/jsruntime/qv4regexp.cpp
index 8544970347..5be637d327 100644
--- a/src/qml/jsruntime/qv4regexp.cpp
+++ b/src/qml/jsruntime/qv4regexp.cpp
@@ -192,7 +192,7 @@ bool RegExp::deleteIndexedProperty(Managed *m, uint index)
return false;
}
-Property *RegExp::advanceIterator(Managed *m, ObjectIterator *it, StringRef name, uint *index, PropertyAttributes *attributes)
+void RegExp::advanceIterator(Managed *m, ObjectIterator *it, StringRef name, uint *index, Property *, PropertyAttributes *attributes)
{
Q_UNUSED(m);
Q_UNUSED(it);
@@ -200,5 +200,5 @@ Property *RegExp::advanceIterator(Managed *m, ObjectIterator *it, StringRef name
Q_UNUSED(index);
Q_UNUSED(attributes);
- return 0;
+ return;
}