bluetooth: fix indentation warning
This commit is contained in:
parent
d6a5cd6e82
commit
0d1285ebcf
1 changed files with 7 additions and 7 deletions
|
@ -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) {
|
bool list_insert_after(list_t *list, list_node_t *prev_node, void *data) {
|
||||||
assert(list != NULL);
|
assert(list != NULL);
|
||||||
assert(prev_node != NULL);
|
assert(prev_node != NULL);
|
||||||
assert(data != NULL);
|
assert(data != NULL);
|
||||||
list_node_t *node = (list_node_t *) osi_calloc(sizeof(list_node_t));
|
list_node_t *node = (list_node_t *)osi_calloc(sizeof(list_node_t));
|
||||||
if (!node)
|
if (!node) {
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
node->next = prev_node->next;
|
node->next = prev_node->next;
|
||||||
node->data = data;
|
node->data = data;
|
||||||
prev_node->next = node;
|
prev_node->next = node;
|
||||||
|
|
Loading…
Reference in a new issue