mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Coverity #337: Remove useless NULL check.
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
* hw/xfree86/loader/loadmod.c:
|
||||
Coverity #1053: Nuke a dead variable.
|
||||
|
||||
* miext/cw/cw.c:
|
||||
Coverity #337: Remove useless NULL check.
|
||||
|
||||
2006-03-15 Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
||||
|
||||
* hw/xfree86/dri/dri.c: (DRIExtensionInit):
|
||||
|
||||
@@ -463,7 +463,7 @@ cwPaintWindowBackground(WindowPtr pWin, RegionPtr pRegion, int what)
|
||||
DrawablePtr pBackingDrawable;
|
||||
int x_off, y_off, x_screen, y_screen;
|
||||
|
||||
while (pWin && pWin->backgroundState == ParentRelative)
|
||||
while (pWin->backgroundState == ParentRelative)
|
||||
pWin = pWin->parent;
|
||||
|
||||
pBackingDrawable = cwGetBackingDrawable((DrawablePtr)pWin, &x_off,
|
||||
|
||||
Reference in New Issue
Block a user