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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 6 08:03:33 CDT 2007


Module: wine
Branch: master
Commit: 0bd2548bbf2edebf963d06d88b0de26650e7f361
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0bd2548bbf2edebf963d06d88b0de26650e7f361

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Sat Aug  4 00:56:50 2007 +0200

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

---

 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 806f7e9..91acd3b 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1259,8 +1259,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;
 }
 
 /**




More information about the wine-cvs mailing list