Use asserts in dbl_list
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
if (!list || !node || !(node->item)) {{
|
||||
return;
|
||||
}}
|
||||
assert(list != NULL && node != NULL && (node->item) != NULL);
|
||||
|
||||
if (index == 0) {{
|
||||
wapp_{Tlower}_list_push_front(list, node);
|
||||
|
Reference in New Issue
Block a user