--- trunk/reactos/lib/glu32/libnurbs/nurbtess/sampleComp.cc 2005-04-28 13:54:19 UTC (rev 14844)
+++ trunk/reactos/lib/glu32/libnurbs/nurbtess/sampleComp.cc 2005-04-28 13:55:35 UTC (rev 14845)
@@ -157,9 +157,9 @@
/*find out whether there is a trim vertex which is
*inbetween the top and bot grid lines or not.
*/
- Int midIndex1;
- Int midIndex2;
- Int gridMidIndex1, gridMidIndex2;
+ Int midIndex1 = 0;
+ Int midIndex2 = 0;
+ Int gridMidIndex1 = 0, gridMidIndex2 = 0;
//midIndex1: array[i] <= v, array[i-1] > v
//midIndex2: array[i] >= v, array[i+1] < v
// v(gridMidIndex1) >= v(midindex1) > v(gridMidIndex1+1)
--- trunk/reactos/lib/glu32/libnurbs/nurbtess/sampleCompRight.cc 2005-04-28 13:54:19 UTC (rev 14844)
+++ trunk/reactos/lib/glu32/libnurbs/nurbtess/sampleCompRight.cc 2005-04-28 13:55:35 UTC (rev 14845)
@@ -72,7 +72,7 @@
*/
Int midIndex1;
Int midIndex2;
- Int gridMidIndex1, gridMidIndex2;
+ Int gridMidIndex1 =0, 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),