Use asserts in dbl_list

This commit is contained in:
2025-05-05 19:55:42 +01:00
parent 175f627f93
commit cac66b9dbb
12 changed files with 288 additions and 430 deletions

View File

@@ -35,7 +35,7 @@ u32 wapp_cpath_join_path(Str8 *dst, const Str8List *parts) {
// MSVC Spectre mitigation warnings
const Str8Node *node = first_node;
u64 node_index = 1;
bool running = true;
bool running = node_index < parts->node_count;
while (running && node->next) {
node = node->next;
if (node->item->size == 0) {