Michael Stefaniuc : user32: Remove superfluous "not NULL" check of the atom variable.

Alexandre Julliard julliard at winehq.org
Wed May 19 10:34:14 CDT 2010


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed May 19 00:50:14 2010 +0200

user32: Remove superfluous "not NULL" check of the atom variable.

---

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

diff --git a/dlls/user32/dde_server.c b/dlls/user32/dde_server.c
index 52adb9a..3e44e6a 100644
--- a/dlls/user32/dde_server.c
+++ b/dlls/user32/dde_server.c
@@ -143,7 +143,7 @@ BOOL WINAPI DdePostAdvise(DWORD idInst, HSZ hszTopic, HSZ hszItem)
     return TRUE;
 
  theError:
-    if (atom) GlobalDeleteAtom(atom);
+    GlobalDeleteAtom(atom);
     return FALSE;
 }
 




More information about the wine-cvs mailing list