From: Michael Stefaniuc Subject: ole32: Remove always false if-statement (PVS-Studio) Message-Id: <20141119082529.GB12999@redhat.com> Date: Wed, 19 Nov 2014 09:25:29 +0100 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