From: Anton Maklakov Date: Tue, 18 Sep 2018 06:49:08 +0000 (+0800) Subject: bluetooth: fix indentation warning X-Git-Tag: v3.2-beta1~124^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d1285ebcf7327f3d614e450cc62f0daa06c98dd;p=esp-idf bluetooth: fix indentation warning --- diff --git a/components/bt/bluedroid/osi/list.c b/components/bt/bluedroid/osi/list.c index 634727a667..2524203995 100644 --- a/components/bt/bluedroid/osi/list.c +++ b/components/bt/bluedroid/osi/list.c @@ -97,13 +97,13 @@ list_node_t *list_back_node(const list_t *list) { } bool list_insert_after(list_t *list, list_node_t *prev_node, void *data) { - assert(list != NULL); - assert(prev_node != NULL); - assert(data != NULL); - list_node_t *node = (list_node_t *) osi_calloc(sizeof(list_node_t)); - if (!node) - return false; - + assert(list != NULL); + assert(prev_node != NULL); + assert(data != NULL); + list_node_t *node = (list_node_t *)osi_calloc(sizeof(list_node_t)); + if (!node) { + return false; + } node->next = prev_node->next; node->data = data; prev_node->next = node;