mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Gedi <gedi@ntworld.com>
Prevent possible use of uninitialized var warning svn path=/trunk/; revision=13170
This commit is contained in:
parent
808fec3b76
commit
1e2f8e3c7d
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue