winex11.drv: Remove redundant "not NULL" check of cfgs (coccicheck).
Michael Stefaniuc
mstefani at redhat.de
Mon May 17 18:31:10 CDT 2010
The variable is checked for not NULL right after it gets assigned to.
---
dlls/winex11.drv/opengl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 584abb6..3869619 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1035,7 +1035,7 @@ static WineGLPixelFormat *get_formats(Display *display, int *size_ret, int *onsc
}
}
- if(cfgs != NULL) XFree(cfgs);
+ XFree(cfgs);
done:
if (size_ret) *size_ret = size;
--
1.7.1
More information about the wine-patches
mailing list