projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a possible warning without debugging.
[srvx.git]
/
src
/
alloc-slab.c
diff --git
a/src/alloc-slab.c
b/src/alloc-slab.c
index 144a2371a26e47b540994bbf9bf4d68a1860092c..919ffe1e2ab2b999534ac28a2bcdff7d10ec8983 100644
(file)
--- a/
src/alloc-slab.c
+++ b/
src/alloc-slab.c
@@
-331,6
+331,7
@@
slab_unalloc(void *ptr, size_t size)
free_slab_count++;
#endif
}
+ (void)size;
}
void *
@@
-431,6
+432,8
@@
slab_free(const char *file, unsigned int line, void *ptr)
}
}
+/* Undefine the verify macro in case we're not debugging. */
+#undef verify
void
verify(const void *ptr)
{