From e7c06719510940898e1f7f8215f4137202611308 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 29 Jul 2011 12:27:00 +0000 Subject: Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings --- src/renderer/tr_curve.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/renderer/tr_curve.c') diff --git a/src/renderer/tr_curve.c b/src/renderer/tr_curve.c index 00cb2ed8..684329b1 100644 --- a/src/renderer/tr_curve.c +++ b/src/renderer/tr_curve.c @@ -205,10 +205,9 @@ static int neighbors[8][2] = { VectorAdd( normal, sum, sum ); count++; } - if ( count == 0 ) { -//printf("bad normal\n"); - count = 1; - } + //if ( count == 0 ) { + // printf("bad normal\n"); + //} VectorNormalize2( sum, dv->normal ); } } -- cgit