Commit 6fb5e61a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winex11: Remove more superflous NULL checks (Coverity).

parent a59922ab
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment