code cleanup: warnings

This commit is contained in:
2012-09-18 03:15:12 +00:00
parent 7a06630411
commit a4ff2b9140
7 changed files with 24 additions and 24 deletions

View File

@@ -152,6 +152,7 @@ void bvh_hint_bb(Tree *tree, LCTSHint *hint, float *UNUSED(min), float *UNUSED(m
}
}
#if 0 /* UNUSED */
static void bfree(VBVHTree *tree)
{
if (tot_pushup + tot_pushdown + tot_hints + tot_moves) {
@@ -169,6 +170,7 @@ static void bfree(VBVHTree *tree)
}
bvh_free(tree);
}
#endif
/* the cast to pointer function is needed to workarround gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11407 */
template<class Tree, int STACK_SIZE>