mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
Fix a few warnings...
svn path=/trunk/; revision=15603
This commit is contained in:
parent
370ff8fa5f
commit
080f82f9b4
5 changed files with 13 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue