fixed broken assert

This commit is contained in:
anon 2023-08-25 21:20:55 +02:00
parent 516bc8656b
commit 73066beae0

View File

@ -7,7 +7,7 @@
void vector_init(vector_t * vector,
size_t element_size,
size_t element_count) {
assert(vector->element_size);
assert(element_size);
vector->data = NULL;
vector->element_size = element_size;