winex11.drv: Move the TRACE before the return. Found by Smatch.

Michael Stefaniuc mstefani at redhat.de
Fri Aug 3 17:56:50 CDT 2007


---
 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 44a543e..965363b 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1292,8 +1292,8 @@ int X11DRV_GetPixelFormat(X11DRV_PDEVICE *physDev) {
     return 1;
   }
 
-  return physDev->current_pf;
   TRACE("(%p): returns %d\n", physDev, physDev->current_pf);
+  return physDev->current_pf;
 }
 
 /**
-- 
1.5.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070804/84104ecb/attachment.pgp


More information about the wine-patches mailing list