Gedi <gedi@ntworld.com>

Prevent possible use of uninitialized var warning

svn path=/trunk/; revision=13170
This commit is contained in:
Gé van Geldorp 2005-01-20 22:45:22 +00:00
parent 808fec3b76
commit 1e2f8e3c7d

View file

@ -472,7 +472,7 @@ static void clear(GLcontext* ctx, GLbitfield mask,
mask &= ~DD_BACK_LEFT_BIT; mask &= ~DD_BACK_LEFT_BIT;
#endif // DDRAW #endif // DDRAW
#else #else
DWORD dwColor; DWORD dwColor = 0;
WORD wColor; WORD wColor;
BYTE bColor; BYTE bColor;
LPDWORD lpdw = (LPDWORD)Current->pbPixels; LPDWORD lpdw = (LPDWORD)Current->pbPixels;
@ -523,8 +523,6 @@ static void clear(GLcontext* ctx, GLbitfield mask,
GetGValue(Current->clearpixel), GetGValue(Current->clearpixel),
GetBValue(Current->clearpixel)); GetBValue(Current->clearpixel));
} }
else
dwColor = 0;
if (nBypp != 3) if (nBypp != 3)
{ {