summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-10-28 13:09:23 +0000
committerBrian Paul <[email protected]>2005-10-28 13:09:23 +0000
commitca33e211659b36449a5b91e47328ab5554a4c665 (patch)
tree80b4f58e7e164d74b65248ad1907abead1b0e086 /src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc
parent5222c58a68d51da1bc7d552b74b5cf1a2f667ccd (diff)
silence a bunch of compiler warnings
Diffstat (limited to 'src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc')
-rw-r--r--src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc b/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc
index ef49f9db63a..46252b59390 100644
--- a/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc
+++ b/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc
@@ -31,10 +31,10 @@
** published by SGI, but has not been independently verified as being
** compliant with the OpenGL(R) version 1.2.1 Specification.
**
-** $Date: 2001/03/22 11:41:40 $ $Revision: 1.2 $
+** $Date: 2005/10/28 13:09:23 $ $Revision: 1.3 $
*/
/*
-** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc,v 1.2 2001/03/22 11:41:40 joukj Exp $
+** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.cc,v 1.3 2005/10/28 13:09:23 brianp Exp $
*/
#include <stdlib.h>
@@ -72,7 +72,7 @@ void sampleCompRight(Real* topVertex, Real* botVertex,
*/
Int midIndex1;
Int midIndex2;
- Int gridMidIndex1, gridMidIndex2;
+ Int gridMidIndex1, gridMidIndex2 = 0;
//midIndex1: array[i] <= v, array[i+1] > v
//midIndex2: array[i] >= v, array[i+1] < v
midIndex1 = rightChain->findIndexBelowGen(rightGridChain->get_v_value(gridIndex1),