bluetooth: fix indentation warning
This commit is contained in:
parent
d6a5cd6e82
commit
0d1285ebcf
1 changed files with 7 additions and 7 deletions
|
@ -100,10 +100,10 @@ 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)
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue