summaryrefslogtreecommitdiff
path: root/allocator.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-12-12 21:53:38 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-12-12 21:53:38 -0500
commitbe3c25b68ced6834267a21f04fab57c78f4fe9d1 (patch)
tree4f380624fbe40499805b1b45a469848ff4fe191f /allocator.c
parent7420a5126f78947e9c5a11e606d59f2ed6391079 (diff)
more infer setup and better arr_foreach
Diffstat (limited to 'allocator.c')
-rw-r--r--allocator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/allocator.c b/allocator.c
index 4cde1a9..c961185 100644
--- a/allocator.c
+++ b/allocator.c
@@ -17,7 +17,6 @@ static void allocr_create(Allocator *a) {
}
static void *allocr_malloc(Allocator *a, size_t bytes) {
- assert(bytes);
#if NO_ALLOCATOR
(void)a;
return err_malloc(bytes);