Initializtion
This commit is contained in:
parent
4d6b5938c9
commit
3765a6ef48
@ -56,7 +56,7 @@ list_t *filter_list(list_t *list, bool (*filter)(list_element_t)) {
|
||||
if (filter(list->elements[i])) {
|
||||
filtered->elements[i] = list->elements[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return filtered;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user