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

+2 -3
View File
@@ -1,7 +1,6 @@
assert(list != NULL);
{NodeType} *output = NULL;
if (!list) {{
goto RETURN_{Tupper}_LIST_REMOVE;
}}
if (index == 0) {{
output = wapp_{Tlower}_list_pop_front(list);