diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-11-01 12:38:32 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-04 02:16:04 +0100 |
commit | a79e400150e9d550cc4ddc0c0497778d8b78fe5d (patch) | |
tree | 5a66670d4c31aaf0d356042b6fe607728e237b5b /src/qml/jsruntime/qv4regexp.cpp | |
parent | b5991ce2a61219bda5a7fa6e33f323158d1eb78b (diff) |
Fix various compiler warnings in order to remove warn_off in the near future
Change-Id: Ic0492fbe31a1e134674bc6c20381f735dd6d5b7a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4regexp.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4regexp.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4regexp.cpp b/src/qml/jsruntime/qv4regexp.cpp index 103605ee7a..8c184754ca 100644 --- a/src/qml/jsruntime/qv4regexp.cpp +++ b/src/qml/jsruntime/qv4regexp.cpp @@ -134,6 +134,7 @@ void RegExp::destroy(Managed *that) void RegExp::markObjects(Managed *that) { + Q_UNUSED(that); } ReturnedValue RegExp::get(Managed *, const StringRef, bool *) @@ -143,24 +144,40 @@ ReturnedValue RegExp::get(Managed *, const StringRef, bool *) ReturnedValue RegExp::getIndexed(Managed *m, uint index, bool *hasProperty) { + Q_UNUSED(m); + Q_UNUSED(index); + Q_UNUSED(hasProperty); + return Encode::undefined(); } void RegExp::put(Managed *m, const StringRef name, const ValueRef value) { + Q_UNUSED(m); + Q_UNUSED(name); + Q_UNUSED(value); } void RegExp::putIndexed(Managed *m, uint index, const ValueRef value) { + Q_UNUSED(m); + Q_UNUSED(index); + Q_UNUSED(value); } PropertyAttributes RegExp::query(const Managed *m, StringRef name) { + Q_UNUSED(m); + Q_UNUSED(name); + return Attr_Invalid; } PropertyAttributes RegExp::queryIndexed(const Managed *m, uint index) { + Q_UNUSED(m); + Q_UNUSED(index); + return Attr_Invalid; } @@ -171,10 +188,19 @@ bool RegExp::deleteProperty(Managed *, const StringRef) bool RegExp::deleteIndexedProperty(Managed *m, uint index) { + Q_UNUSED(m); + Q_UNUSED(index); + return false; } Property *RegExp::advanceIterator(Managed *m, ObjectIterator *it, StringRef name, uint *index, PropertyAttributes *attributes) { + Q_UNUSED(m); + Q_UNUSED(it); + Q_UNUSED(name); + Q_UNUSED(index); + Q_UNUSED(attributes); + return 0; } |