Michael Stefaniuc : user32: Remove a duplicated return statement (Smatch).

Alexandre Julliard julliard at winehq.org
Mon Oct 19 09:56:07 CDT 2009


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Oct 16 22:22:29 2009 +0200

user32: Remove a duplicated return statement (Smatch).

---

 dlls/user32/resource.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/resource.c b/dlls/user32/resource.c
index 82ec05b..e2695b6 100644
--- a/dlls/user32/resource.c
+++ b/dlls/user32/resource.c
@@ -70,7 +70,6 @@ HACCEL WINAPI LoadAcceleratorsW(HINSTANCE instance, LPCWSTR name)
     memcpy( accel->table, table, count * sizeof(*table) );
     if (!(handle = alloc_user_handle( &accel->obj, USER_ACCEL )))
         HeapFree( GetProcessHeap(), 0, accel );
-    return handle;
     TRACE_(accel)("%p %s returning %p\n", instance, debugstr_w(name), handle );
     return handle;
 }




More information about the wine-cvs mailing list