Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-06-16 12:08:22 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-06-16 12:08:22 +0400
commitecfc2db6e21d3a125da9735b026182f583ebe27d (patch)
treeb0aafda0027c2c61668482e8d768488cf610740b /intern/guardedalloc
parent6d4f06299f5ec2b6779b044f1180926416a2f5cb (diff)
I'd tend to declare dead code is forbidden
All this code blocks commented out with UNUSED comment are really useless.
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn_lockfree_impl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c
index 69e1f6572dc..ffb23702601 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)