[pulseaudio-discuss] [RFC 01/24] bluetooth: Remove unnecessary braces

João Paulo Rechi Vita jprvita at gmail.com
Wed Mar 27 06:25:23 PDT 2013


On Wed, Mar 27, 2013 at 4:58 AM, Mikel Astiz <mikel.astiz.oss at gmail.com> wrote:
> Hi João Paulo,
>
> On Wed, Mar 27, 2013 at 6:16 AM,  <jprvita at gmail.com> wrote:
>> From: João Paulo Rechi Vita <jprvita at openbossa.org>
>>
>> ---
>>  src/modules/bluetooth/bluetooth-util.c | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
>> index 66fd6fe..6dc18e2 100644
>> --- a/src/modules/bluetooth/bluetooth-util.c
>> +++ b/src/modules/bluetooth/bluetooth-util.c
>> @@ -2096,11 +2096,11 @@ static DBusHandlerResult endpoint_handler(DBusConnection *c, DBusMessage *m, voi
>>                                   DBUS_TYPE_STRING, &xml,
>>                                   DBUS_TYPE_INVALID));
>>
>> -    } else if (dbus_message_is_method_call(m, interface, "SetConfiguration")) {
>> +    } else if (dbus_message_is_method_call(m, interface, "SetConfiguration"))
>>          r = endpoint_set_configuration(c, m, userdata);
>> -    } else if (dbus_message_is_method_call(m, interface, "SelectConfiguration")) {
>> +    else if (dbus_message_is_method_call(m, interface, "SelectConfiguration"))
>>          r = endpoint_select_configuration(c, m, userdata);
>> -    } else if (dbus_message_is_method_call(m, interface, "ClearConfiguration"))
>> +    else if (dbus_message_is_method_call(m, interface, "ClearConfiguration"))
>>          r = endpoint_clear_configuration(c, m, userdata);
>>      else
>>          return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
>> --
>> 1.7.11.7
>>
>
> I suggest you submit this patch for master, since it's trivial and it
> doesn't apply cleanly. Once it gets merged, along with other similar
> trivial patches, I'll take care of rebasing my BlueZ 5 patchset.
>

The patches 1-3 were actually intended for master, but it was easier
to send them for review together with the rest of the series. I'll
rebase them and send for integration.

--
João Paulo Rechi Vita
http://about.me/jprvita


More information about the pulseaudio-discuss mailing list