From 788f4858d779a04a29bc446f2e4f21e3c64ddaa4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Jun 2014 16:16:32 +1000 Subject: Comment unused macro --- intern/guardedalloc/intern/mallocn_lockfree_impl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern') diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c index c76caff0d74..69e1f6572dc 100644 --- a/intern/guardedalloc/intern/mallocn_lockfree_impl.c +++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.c @@ -67,7 +67,9 @@ enum { #define MEMHEAD_FROM_PTR(ptr) (((MemHead*) vmemh) - 1) #define PTR_FROM_MEMHEAD(memhead) (memhead + 1) #define MEMHEAD_ALIGNED_FROM_PTR(ptr) (((MemHeadAligned*) vmemh) - 1) +#if 0 /* UNUSED */ #define PTR_FROM_MEMHEAD_ALIGNED(memhead) (memhead + 1) +#endif #define MEMHEAD_IS_MMAP(memhead) ((memhead)->len & (size_t) MEMHEAD_MMAP_FLAG) #define MEMHEAD_IS_ALIGNED(memhead) ((memhead)->len & (size_t) MEMHEAD_ALIGN_FLAG) -- cgit v1.2.3