summaryrefslogtreecommitdiff
path: root/src/renderer/tr_curve.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-07-29 12:27:00 +0000
committerTim Angus <tim@ngus.net>2013-01-10 22:36:34 +0000
commite7c06719510940898e1f7f8215f4137202611308 (patch)
tree0aec0bf91daa568d8cb4a1c412037ca26b2f92a6 /src/renderer/tr_curve.c
parent76544bcec46127587d183a90e5ff817a71e1f139 (diff)
Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
Diffstat (limited to 'src/renderer/tr_curve.c')
-rw-r--r--src/renderer/tr_curve.c7
1 files changed, 3 insertions, 4 deletions
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 );
}
}