Removes variable 'ctype' which is assigned but never used. --- tools/obexctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/obexctl.c b/tools/obexctl.c index 8dcada8..4faff6b 100644 --- a/tools/obexctl.c +++ b/tools/obexctl.c @@ -1233,7 +1233,6 @@ static void list_messages_reply(DBusMessage *message, void *user_data) { DBusError error; DBusMessageIter iter, array; - int ctype; dbus_error_init(&error); @@ -1250,8 +1249,8 @@ static void list_messages_reply(DBusMessage *message, void *user_data) dbus_message_iter_recurse(&iter, &array); - while ((ctype = dbus_message_iter_get_arg_type(&array)) == - DBUS_TYPE_DICT_ENTRY) { + while ((dbus_message_iter_get_arg_type(&array)) == + DBUS_TYPE_DICT_ENTRY) { DBusMessageIter entry; const char *obj; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html