code cleanup: warnings
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user