Gedi <gedi(a)ntworld.com>
Prevent possible use of uninitialized var warning
Modified: trunk/reactos/lib/mesa32/src/drivers/windows/gdi/wmesa.c
_____
Modified: trunk/reactos/lib/mesa32/src/drivers/windows/gdi/wmesa.c
--- trunk/reactos/lib/mesa32/src/drivers/windows/gdi/wmesa.c
2005-01-20 22:24:30 UTC (rev 13169)
+++ trunk/reactos/lib/mesa32/src/drivers/windows/gdi/wmesa.c
2005-01-20 22:45:22 UTC (rev 13170)
@@ -472,7 +472,7 @@
mask &= ~DD_BACK_LEFT_BIT;
#endif // DDRAW
#else
- DWORD dwColor;
+ DWORD dwColor = 0;
WORD wColor;
BYTE bColor;
LPDWORD lpdw = (LPDWORD)Current->pbPixels;
@@ -523,8 +523,6 @@
GetGValue(Current->clearpixel),
GetBValue(Current->clearpixel));
}
- else
- dwColor = 0;
if (nBypp != 3)
{