From 1b25f48542b85f61e9fb6044e5ec0b1985a7906a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 Feb 2011 12:05:09 +0000 Subject: clear some unused warnings --- source/blender/blenlib/intern/BLI_kdopbvh.c | 3 ++- source/blender/blenlib/intern/bpath.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c index d85950ce22d..bdd81a8ad03 100644 --- a/source/blender/blenlib/intern/BLI_kdopbvh.c +++ b/source/blender/blenlib/intern/BLI_kdopbvh.c @@ -161,6 +161,7 @@ static float KDOP_AXES[13][3] = heap[parent] = element; \ } +#if 0 static int ADJUST_MEMORY(void *local_memblock, void **memblock, int new_size, int *max_size, int size_per_item) { int new_max_size = *max_size * 2; @@ -186,7 +187,7 @@ static int ADJUST_MEMORY(void *local_memblock, void **memblock, int new_size, in else return FALSE; } - +#endif ////////////////////////////////////////////////////////////////////////////////////////////////////// // Introsort diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c index 10ee18d5142..560eb55981f 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -141,9 +141,11 @@ void BLI_bpathIterator_init(struct BPathIterator **bpi_pt, Main *bmain, const ch BLI_bpathIterator_step(bpi); } +#if 0 static void BLI_bpathIterator_alloc(struct BPathIterator **bpi) { *bpi= MEM_mallocN(sizeof(BPathIterator), "BLI_bpathIterator_alloc"); } +#endif void BLI_bpathIterator_free(struct BPathIterator *bpi) { if (bpi->seqdata.seqar) -- cgit v1.2.3