fixed broken assert
This commit is contained in:
parent
516bc8656b
commit
73066beae0
@ -7,7 +7,7 @@
|
|||||||
void vector_init(vector_t * vector,
|
void vector_init(vector_t * vector,
|
||||||
size_t element_size,
|
size_t element_size,
|
||||||
size_t element_count) {
|
size_t element_count) {
|
||||||
assert(vector->element_size);
|
assert(element_size);
|
||||||
|
|
||||||
vector->data = NULL;
|
vector->data = NULL;
|
||||||
vector->element_size = element_size;
|
vector->element_size = element_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user