aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-01-09 11:51:03 +0100
committerLars Knoll <lars.knoll@digia.com>2015-01-10 11:18:25 +0100
commitcd3722b57778e1dbe632ae342772e7f66dcdaadf (patch)
tree3d806a5c77a86674889ce2048fb1844dc202a072 /src/qml/qml/qqmlpropertycache.cpp
parent40f394ef2e06a6466445e4df54735250939084f0 (diff)
Fix compiler warning about use of uninitialized variable
Change-Id: Ic9218d82c5f47d464a6536759cfe2c6dbfc9f985 Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache.cpp')
-rw-r--r--src/qml/qml/qqmlpropertycache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlpropertycache.cpp b/src/qml/qml/qqmlpropertycache.cpp
index a87aec80a5..9f96e36572 100644
--- a/src/qml/qml/qqmlpropertycache.cpp
+++ b/src/qml/qml/qqmlpropertycache.cpp
@@ -1537,6 +1537,7 @@ void QQmlMetaObject::resolveGadgetMethodOrPropertyIndex(QMetaObject::Call type,
}
break;
default:
+ offset = 0;
Q_UNIMPLEMENTED();
offset = INT_MAX;
}