Use asserts in dbl_list

This commit is contained in:
abdelrahman committed 2025-05-05 19:55:42 +01:00
1 parent 175f627f93
commit cac66b9dbb
12 files changed
+288 -430

No files matched your search

+1 -3
View File
@@ -1,6 +1,4 @@
if (!list || !node || !(node->item)) {{
return;
}}
assert(list != NULL && node != NULL && (node->item) != NULL);
{ListType} node_list = {Tlower}_node_to_list(node);