Modified: trunk/reactos/lib/glu32/libnurbs/interface/glcurveval.cc
Modified: trunk/reactos/lib/glu32/libnurbs/nurbtess/monoTriangulation.cc
Modified: trunk/reactos/lib/glu32/libnurbs/nurbtess/sampleMonoPoly.cc
Modified: trunk/reactos/lib/glu32/libutil/mipmap.c
Modified: trunk/reactos/lib/imagehlp/modify.c
--- trunk/reactos/lib/glu32/libnurbs/interface/glcurveval.cc 2005-05-28 19:24:13 UTC (rev 15602)
+++ trunk/reactos/lib/glu32/libnurbs/interface/glcurveval.cc 2005-05-28 19:33:26 UTC (rev 15603)
@@ -248,6 +248,11 @@
which=3;
dimension = 4;
break;
+ /* make GCC happy */
+ default:
+ which=0;
+ dimension = 0;
+ break;
}
inMap1f(which, dimension, ulo, uhi, stride, order, pts);
}
--- trunk/reactos/lib/glu32/libnurbs/nurbtess/monoTriangulation.cc 2005-05-28 19:24:13 UTC (rev 15602)
+++ trunk/reactos/lib/glu32/libnurbs/nurbtess/monoTriangulation.cc 2005-05-28 19:33:26 UTC (rev 15603)
@@ -1033,8 +1033,8 @@
primStream* pStream)
{
Int i;
- directedLine *temp, *oldtemp;
- Int tempIndex, oldtempIndex;
+ directedLine *temp, *oldtemp = NULL;
+ Int tempIndex, oldtempIndex = 0;
assert(inc_chain != NULL && dec_chain != NULL);
--- trunk/reactos/lib/glu32/libnurbs/nurbtess/sampleMonoPoly.cc 2005-05-28 19:24:13 UTC (rev 15602)
+++ trunk/reactos/lib/glu32/libnurbs/nurbtess/sampleMonoPoly.cc 2005-05-28 19:33:26 UTC (rev 15603)
@@ -976,11 +976,11 @@
void findLeftGridIndices(directedLine* topEdge, Int firstGridIndex, Int lastGridIndex, gridWrap* grid, Int* ret_indices, Int* ret_innerIndices)
{
- Int i,k,isHoriz;
+ Int i,k,isHoriz = 0;
Int n_ulines = grid->get_n_ulines();
Real uMin = grid->get_u_min();
Real uMax = grid->get_u_max();
- Real slop, uinterc;
+ Real slop = 0.0f, uinterc;
#ifdef SHORTEN_GRID_LINE
//uintercBuf stores all the interction u value for each grid line
@@ -1094,7 +1094,7 @@
Int n_ulines = grid->get_n_ulines();
Real uMin = grid->get_u_min();
Real uMax = grid->get_u_max();
- Real slop, uinterc;
+ Real slop = 0.0f, uinterc;
#ifdef SHORTEN_GRID_LINE
//uintercBuf stores all the interction u value for each grid line
--- trunk/reactos/lib/glu32/libutil/mipmap.c 2005-05-28 19:24:13 UTC (rev 15602)
+++ trunk/reactos/lib/glu32/libutil/mipmap.c 2005-05-28 19:33:26 UTC (rev 15603)
@@ -4839,7 +4839,7 @@
GLint group_size;
GLint elements_per_line;
const GLubyte *start;
- const GLubyte *iter;
+ const GLubyte *iter = NULL;
GLushort *iter2;
GLint i, j, k;
GLint myswap_bytes;
@@ -6650,7 +6650,7 @@
int elementsPerLine;
int rowsPerImage;
int imageSize;
- const GLubyte *start, *rowStart, *iter;
+ const GLubyte *start, *rowStart, *iter = NULL;
GLushort *iter2;
int ww, hh, dd, k;
--- trunk/reactos/lib/imagehlp/modify.c 2005-05-28 19:24:13 UTC (rev 15602)
+++ trunk/reactos/lib/imagehlp/modify.c 2005-05-28 19:33:26 UTC (rev 15603)
@@ -643,7 +643,7 @@
PUCHAR TempDllName;
PLOADED_IMAGE LoadedLibrary;
ULONG DllNameSize;
- USHORT OrdinalNumber;
+ USHORT OrdinalNumber = 0;
USHORT HintIndex;
ULONG ExportSize;
PIMAGE_EXPORT_DIRECTORY Exports;