mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 10:17:23 +00:00
winex11: Remove more superflous NULL checks (Coverity).
This commit is contained in:
parent
a59922ab55
commit
6fb5e61afb
@ -925,7 +925,7 @@ int X11DRV_PALETTE_ToPhysical( X11DRV_PDEVICE *physDev, COLORREF color )
|
||||
/* fall through to RGB */
|
||||
|
||||
case 0: /* RGB */
|
||||
if (physDev && (physDev->depth == 1) )
|
||||
if (physDev->depth == 1)
|
||||
{
|
||||
int white = 1;
|
||||
RGBQUAD table[2];
|
||||
@ -981,7 +981,7 @@ int X11DRV_PALETTE_ToPhysical( X11DRV_PDEVICE *physDev, COLORREF color )
|
||||
/* fall through to RGB */
|
||||
|
||||
case 0: /* RGB */
|
||||
if (physDev && (physDev->depth == 1) )
|
||||
if (physDev->depth == 1)
|
||||
{
|
||||
int white = 1;
|
||||
RGBQUAD table[2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user