Module: wine Branch: master Commit: 31e4cf9313f698336fab6b3d61b6ac8fa8cba926 URL: http://source.winehq.org/git/wine.git/?a=commit;h=31e4cf9313f698336fab6b3d61...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue May 18 01:31:10 2010 +0200
winex11.drv: Remove redundant "not NULL" check of cfgs (coccicheck).
---
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;