Hi Gustavo, > > +/* > > + * adapter_services_inc_rem - Insert or remove UUID from adapter > > + */ > > +static void adapter_service_ins_rem(const bdaddr_t *bdaddr, void *rec, > > + gboolean insert) > > +{ > > + struct btd_adapter *adapter; > > + GSList *adapters; > > + > > + adapters = NULL; > > + > > + if (bacmp(bdaddr, BDADDR_ANY) != 0) { > > + /* Only one adapter */ > > + adapter = manager_find_adapter(bdaddr); > > + if (!adapter) > > + return; > > + > > + adapters = g_slist_append(adapters, adapter); > > + } else { > > + /* Emit D-Bus msg to all adapters */ > > + adapters = manager_get_adapters(); > > + } > > No need for braces here. :) because of the comment is is actually preferred to have braces in this case. This is not for the sake of the compiler. It is purely for humans to not disturb them with reading the code. Regards Marcel -- 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