Henri Verbeet : wined3d: Get rid of the redundant "return_value" variable.

Alexandre Julliard julliard at winehq.org
Mon Jul 6 09:33:57 CDT 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Jul  6 10:08:38 2009 +0200

wined3d: Get rid of the redundant "return_value" variable.

---

 dlls/wined3d/directx.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 9ac96fe..0bbb198 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -468,7 +468,6 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
     GLint       gl_max;
     GLfloat     gl_floatv[2];
     int         major = 1, minor = 0;
-    BOOL        return_value = TRUE;
     unsigned    i;
     HDC         hdc;
     unsigned int vidmem=0;
@@ -1548,7 +1547,7 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
     }
     LEAVE_GL();
 
-    return return_value;
+    return TRUE;
 }
 
 /**********************************************************




More information about the wine-cvs mailing list