Commit: ecfc2db6e21d3a125da9735b026182f583ebe27d
Author: Sergey Sharybin
Date: Mon Jun 16 14:08:22 2014 +0600
https://developer.blender.org/rBecfc2db6e21d3a125da9735b026182f583ebe27d
I'd tend to declare dead code is forbidden
All this code blocks commented out with UNUSED comment are
really useless.
===================================================================
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 69e1f65..ffb2370 100644
--- a/intern/guardedalloc/intern/mallocn_lockfree_impl.c
+++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.c
@@ -67,9 +67,6 @@ 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)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs