From: Lennart Poettering Date: Mon, 30 Mar 2009 18:55:50 +0000 (+0200) Subject: get rid of old 'Connected' property parsing and make sure we don't execute two case... X-Git-Tag: 1.0_branch~1930 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66b80e9ecdf65861c07642a89779d7743d6888d9;p=profile%2Fivi%2Fpulseaudio.git get rid of old 'Connected' property parsing and make sure we don't execute two case branches --- diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index aaa4cc9..02413f4 100644 --- a/src/modules/bluetooth/bluetooth-util.c +++ b/src/modules/bluetooth/bluetooth-util.c @@ -290,17 +290,6 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa if (pa_streq(key, "State")) *state = pa_bt_audio_state_from_string(value); /* pa_log_debug("Value %s", value); */ - } - - case DBUS_TYPE_BOOLEAN: { - - dbus_bool_t value; - dbus_message_iter_get_basic(&variant_i, &value); - - /* if (pa_streq(key, "Connected")) */ - /* *connected = !!value; */ - -/* pa_log_debug("Value %s", pa_yes_no(value)); */ break; }