mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Fix a few warnings...
svn path=/trunk/; revision=15603
This commit is contained in:
@@ -248,6 +248,11 @@ OpenGLCurveEvaluator::map1f(
|
||||
which=3;
|
||||
dimension = 4;
|
||||
break;
|
||||
/* make GCC happy */
|
||||
default:
|
||||
which=0;
|
||||
dimension = 0;
|
||||
break;
|
||||
}
|
||||
inMap1f(which, dimension, ulo, uhi, stride, order, pts);
|
||||
}
|
||||
|
||||
@@ -1033,8 +1033,8 @@ void monoTriangulationRec(directedLine* inc_chain, Int inc_index,
|
||||
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);
|
||||
|
||||
|
||||
@@ -976,11 +976,11 @@ void findNeck(vertexArray *leftChain, Int botLeftIndex,
|
||||
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 @@ void findRightGridIndices(directedLine* topEdge, Int firstGridIndex, Int lastGri
|
||||
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
|
||||
|
||||
@@ -4839,7 +4839,7 @@ static void fill_image(const PixelStorageModes *psm,
|
||||
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 @@ static void fillImage3D(const PixelStorageModes *psm,
|
||||
int elementsPerLine;
|
||||
int rowsPerImage;
|
||||
int imageSize;
|
||||
const GLubyte *start, *rowStart, *iter;
|
||||
const GLubyte *start, *rowStart, *iter = NULL;
|
||||
GLushort *iter2;
|
||||
int ww, hh, dd, k;
|
||||
|
||||
|
||||
@@ -643,7 +643,7 @@ BindpAddBoundForwarder(
|
||||
PUCHAR TempDllName;
|
||||
PLOADED_IMAGE LoadedLibrary;
|
||||
ULONG DllNameSize;
|
||||
USHORT OrdinalNumber;
|
||||
USHORT OrdinalNumber = 0;
|
||||
USHORT HintIndex;
|
||||
ULONG ExportSize;
|
||||
PIMAGE_EXPORT_DIRECTORY Exports;
|
||||
|
||||
Reference in New Issue
Block a user