mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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;
|
||||
#endif // DDRAW
|
||||
#else
|
||||
DWORD dwColor;
|
||||
DWORD dwColor = 0;
|
||||
WORD wColor;
|
||||
BYTE bColor;
|
||||
LPDWORD lpdw = (LPDWORD)Current->pbPixels;
|
||||
|
@ -523,8 +523,6 @@ static void clear(GLcontext* ctx, GLbitfield mask,
|
|||
GetGValue(Current->clearpixel),
|
||||
GetBValue(Current->clearpixel));
|
||||
}
|
||||
else
|
||||
dwColor = 0;
|
||||
|
||||
if (nBypp != 3)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue