From a79e400150e9d550cc4ddc0c0497778d8b78fe5d Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Fri, 1 Nov 2013 12:38:32 +0100 Subject: Fix various compiler warnings in order to remove warn_off in the near future Change-Id: Ic0492fbe31a1e134674bc6c20381f735dd6d5b7a Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4objectiterator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4objectiterator.cpp') diff --git a/src/qml/jsruntime/qv4objectiterator.cpp b/src/qml/jsruntime/qv4objectiterator.cpp index 46698b0ad3..cec0873527 100644 --- a/src/qml/jsruntime/qv4objectiterator.cpp +++ b/src/qml/jsruntime/qv4objectiterator.cpp @@ -83,7 +83,7 @@ Property *ObjectIterator::next(StringRef name, uint *index, PropertyAttributes * if (!current) break; - while (p = current->advanceIterator(this, name, index, attrs)) { + while ((p = current->advanceIterator(this, name, index, attrs))) { // check the property is not already defined earlier in the proto chain if (current != object) { Property *pp; -- cgit v1.2.3