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:
authorCampbell Barton <ideasman42@gmail.com>2013-05-12 09:54:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-12 09:54:33 +0400
commit7b707fff56209d8997a2d52dde6f38e67be56c31 (patch)
tree748df8091f8c8f32634f3ff17f44e10ac58fc260 /intern/guardedalloc/MEM_guardedalloc.h
parentb6345616a7a450c88d3e0eed4f953fbcc225597e (diff)
correct assert for driver evaluation,
also add asserts for listbase functions when the list is NULL, and use noreturn attribute for jpeg_error.
Diffstat (limited to 'intern/guardedalloc/MEM_guardedalloc.h')
-rw-r--r--intern/guardedalloc/MEM_guardedalloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h
index dd22cf7c484..a3988bef92a 100644
--- a/intern/guardedalloc/MEM_guardedalloc.h
+++ b/intern/guardedalloc/MEM_guardedalloc.h
@@ -84,10 +84,12 @@ extern "C" {
*/
short MEM_freeN(void *vmemh);
+#if 0 /* UNUSED */
/**
* Return zero if memory is not in allocated list
*/
short MEM_testN(void *vmemh);
+#endif
/**
* Duplicates a block of memory, and returns a pointer to the