forked from bartvdbraak/blender
Cleanup: quiet warning
This commit is contained in:
parent
980ea4e54f
commit
a837797740
@ -67,7 +67,7 @@ void **BLI_mempool_as_tableN(BLI_mempool *pool, const char *allocstr) ATTR_
|
||||
void BLI_mempool_as_array(BLI_mempool *pool, void *data) ATTR_NONNULL(1, 2);
|
||||
void *BLI_mempool_as_arrayN(BLI_mempool *pool, const char *allocstr) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2);
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
void BLI_mempool_set_memory_debug(void);
|
||||
#endif
|
||||
|
||||
|
@ -445,7 +445,7 @@ static int debug_mode(int UNUSED(argc), const char **UNUSED(argv), void *data)
|
||||
G.debug |= G_DEBUG; /* std output printf's */
|
||||
printf(BLEND_VERSION_STRING_FMT);
|
||||
MEM_set_memory_debug();
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
BLI_mempool_set_memory_debug();
|
||||
#endif
|
||||
|
||||
|
@ -599,7 +599,7 @@ int main(int argc, char** argv)
|
||||
i++;
|
||||
G.debug |= G_DEBUG;
|
||||
MEM_set_memory_debug();
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
BLI_mempool_set_memory_debug();
|
||||
#endif
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user