summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmllistmodel.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-12 05:17:15 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-12 05:17:15 (GMT)
commitf468cb54e4b9a7f19377ca1e07c313beb71e1025 (patch)
tree651d4d62b37be705f72c52650a107128424ea44f /src/declarative/util/qmllistmodel.cpp
parent5cdeb08485f3ed49efc3d0b918254e78ad00c84b (diff)
downloadQt-f468cb54e4b9a7f19377ca1e07c313beb71e1025.zip
Qt-f468cb54e4b9a7f19377ca1e07c313beb71e1025.tar.gz
Qt-f468cb54e4b9a7f19377ca1e07c313beb71e1025.tar.bz2
Fix warnings
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r--src/declarative/util/qmllistmodel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index 0b19574..61fc50d 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -922,7 +922,6 @@ void QmlListModelParser::setCustomData(QObject *obj, const QByteArray &d)
bool QmlListModelParser::definesEmptyList(const QString &s)
{
if (s.startsWith(QLatin1Char('[')) && s.endsWith(QLatin1Char(']'))) {
- bool isEmptyList = true;
for (int i=1; i<s.length()-1; i++) {
if (!s[i].isSpace())
return false;