[Bf-blender-cvs] [788f485] master: Comment unused macro

Campbell Barton noreply at git.blender.org
Sat Jun 14 08:28:12 CEST 2014


Commit: 788f4858d779a04a29bc446f2e4f21e3c64ddaa4
Author: Campbell Barton
Date:   Sat Jun 14 16:16:32 2014 +1000
https://developer.blender.org/rB788f4858d779a04a29bc446f2e4f21e3c64ddaa4

Comment unused macro

===================================================================

M	intern/guardedalloc/intern/mallocn_lockfree_impl.c

===================================================================

diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c
index c76caff..69e1f65 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)




More information about the Bf-blender-cvs mailing list