user32: Remove superfluous "not NULL" check of the atom variable.
Michael Stefaniuc
mstefani at redhat.de
Tue May 18 17:50:14 CDT 2010
It is checked for not NULL right after it gets assigned to. Found by
coccicheck.
---
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;
}
--
1.7.1
More information about the wine-patches
mailing list