user32: Remove superfluous "not NULL" check of the atom variable.
authorMichael Stefaniuc <mstefani@redhat.de>
Tue, 18 May 2010 22:50:14 +0000 (00:50 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 19 May 2010 09:17:55 +0000 (11:17 +0200)
dlls/user32/dde_server.c

index 52adb9a8bd28ec0072f3f06ecd2e54762aafd42f..3e44e6af0779f015037de27d7281d29db6f9844f 100644 (file)
@@ -143,7 +143,7 @@ BOOL WINAPI DdePostAdvise(DWORD idInst, HSZ hszTopic, HSZ hszItem)
     return TRUE;
 
  theError:
-    if (atom) GlobalDeleteAtom(atom);
+    GlobalDeleteAtom(atom);
     return FALSE;
 }