From cd3722b57778e1dbe632ae342772e7f66dcdaadf Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 9 Jan 2015 11:51:03 +0100 Subject: Fix compiler warning about use of uninitialized variable Change-Id: Ic9218d82c5f47d464a6536759cfe2c6dbfc9f985 Reviewed-by: Robin Burchell --- src/qml/qml/qqmlpropertycache.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/qml/qqmlpropertycache.cpp') 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; } -- cgit v1.2.3