From 7139535062b15ef4ffb85ba38e425693af279727 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 21 Mar 2021 15:54:10 -0700 Subject: [PATCH] comma->semi. --- src/min_array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/min_array.h b/src/min_array.h index 81301e7..967d35d 100644 --- a/src/min_array.h +++ b/src/min_array.h @@ -14,10 +14,10 @@ struct name##_array { type *data; size_t size, capacity; }; \ /** Initialises `a` to idle. */ \ static void name##_array(struct name##_array *const a) \ - { assert(a), a->data = 0, a->capacity = a->size = 0; } \ + { assert(a); a->data = 0; a->capacity = a->size = 0; } \ /** Destroys `a` and returns it to idle. */ \ static void name##_array_(struct name##_array *const a) \ - { assert(a), free(a->data), name##_array(a); } \ + { assert(a); free(a->data); name##_array(a); } \ /** Ensures `min_capacity` of `a`. @param[min_capacity] If zero, does nothing. @return Success; otherwise, `errno` will be set. @throws[ERANGE] Tried allocating more then can fit in `size_t` or `realloc`