ole32: Remove always false if-statement (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Wed Nov 19 02:25:29 CST 2014
MSHLFLAGS_NORMAL is 0.
---
dlls/ole32/stubmanager.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c
index fbbf413..96d710d 100644
--- a/dlls/ole32/stubmanager.c
+++ b/dlls/ole32/stubmanager.c
@@ -103,8 +103,6 @@ struct ifstub *stub_manager_new_ifstub(struct stub_manager *m, IRpcStubBuffer *s
EnterCriticalSection(&m->lock);
list_add_head(&m->ifstubs, &stub->entry);
- /* every normal marshal is counted so we don't allow more than we should */
- if (flags & MSHLFLAGS_NORMAL) m->norm_refs++;
LeaveCriticalSection(&m->lock);
TRACE("ifstub %p created with ipid %s\n", stub, debugstr_guid(&stub->ipid));
--
1.9.3
More information about the wine-patches
mailing list