diff options
author | Vinson Lee <vlee@vmware.com> | 2009-12-22 23:07:00 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-22 23:07:00 -0800 |
commit | 57b5ca5d11044d06f8969d54ff01c27ff44585ac (patch) | |
tree | 42c0917f8c8da9bb42f2e019d2e2d2348e009069 /src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc | |
parent | 19a40524d3d6f8d4a2371d8335667b57e6fb0c22 (diff) |
glu/sgi: Silence uninitialized variable warnings.
Diffstat (limited to 'src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc b/src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc index e12f88bab1..2e70f83936 100644 --- a/src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc +++ b/src/glu/sgi/libnurbs/nurbtess/sampleCompBot.cc @@ -207,7 +207,7 @@ void sampleBotRightWithGridLine(Real* botVertex, return; } - Int segIndexMono, segIndexPass; + Int segIndexMono = 0, segIndexPass; findBotRightSegment(rightChain, rightEnd, rightCorner, @@ -293,7 +293,7 @@ void sampleBotLeftWithGridLine(Real* botVertex, return; } - Int segIndexPass, segIndexMono; + Int segIndexPass, segIndexMono = 0; findBotLeftSegment(leftChain, leftEnd, leftCorner, grid->get_u_value(leftU), segIndexMono, segIndexPass); sampleBotLeftWithGridLinePost(botVertex, |