From 34966bc84f2d446f75bb0e123805f51c89e84190 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 27 Sep 2015 12:09:03 -0700 Subject: [PATCH] QDBusPendingCall: Remove unused member We set it to the number of types that the call expects to receive, but we never used it anywhere else. Change-Id: I42e7ef1a481840699a8dffff1407eb520b5844d8 Reviewed-by: Alex Blasche --- src/dbus/qdbuspendingcall.cpp | 1 - src/dbus/qdbuspendingcall_p.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/dbus/qdbuspendingcall.cpp b/src/dbus/qdbuspendingcall.cpp index ad5632be5a..c93d6acf84 100644 --- a/src/dbus/qdbuspendingcall.cpp +++ b/src/dbus/qdbuspendingcall.cpp @@ -181,7 +181,6 @@ bool QDBusPendingCallPrivate::setReplyCallback(QObject *target, const char *memb void QDBusPendingCallPrivate::setMetaTypes(int count, const int *types) { - expectedReplyCount = count; if (count == 0) { expectedReplySignature = QLatin1String(""); // not null return; diff --git a/src/dbus/qdbuspendingcall_p.h b/src/dbus/qdbuspendingcall_p.h index dcf733679c..571a0eb028 100644 --- a/src/dbus/qdbuspendingcall_p.h +++ b/src/dbus/qdbuspendingcall_p.h @@ -89,7 +89,6 @@ public: QDBusMessage replyMessage; DBusPendingCall *pending; QString expectedReplySignature; - int expectedReplyCount; // } QDBusPendingCallPrivate(const QDBusMessage &sent, QDBusConnectionPrivate *connection)