Robert Shearman : rpcrt4: Remove some unused code.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Sep 7 03:45:43 CDT 2006
Module: wine
Branch: master
Commit: 3535b70a0b8f36bc8c6f4d9c081b8e5ff5900de3
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3535b70a0b8f36bc8c6f4d9c081b8e5ff5900de3
Author: Robert Shearman <rob at codeweavers.com>
Date: Tue Aug 29 21:14:05 2006 +0100
rpcrt4: Remove some unused code.
---
dlls/rpcrt4/cproxy.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/dlls/rpcrt4/cproxy.c b/dlls/rpcrt4/cproxy.c
index 6a97d50..70f0556 100644
--- a/dlls/rpcrt4/cproxy.c
+++ b/dlls/rpcrt4/cproxy.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
* TODO: Handle non-i386 architectures
- * Get rid of #if 0'ed code.
*/
#include <stdarg.h>
@@ -318,26 +317,14 @@ ULONG WINAPI IUnknown_AddRef_Proxy(LPUNK
{
ICOM_THIS_MULTI(StdProxyImpl,PVtbl,iface);
TRACE("(%p)->AddRef() %s\n",This,This->name);
-#if 0 /* interface refcounting */
- return ++(This->RefCount);
-#else /* object refcounting */
return IUnknown_AddRef(This->pUnkOuter);
-#endif
}
ULONG WINAPI IUnknown_Release_Proxy(LPUNKNOWN iface)
{
ICOM_THIS_MULTI(StdProxyImpl,PVtbl,iface);
TRACE("(%p)->Release() %s\n",This,This->name);
-#if 0 /* interface refcounting */
- if (!--(This->RefCount)) {
- StdProxy_Destruct((LPRPCPROXYBUFFER)&This->lpVtbl);
- return 0;
- }
- return This->RefCount;
-#else /* object refcounting */
return IUnknown_Release(This->pUnkOuter);
-#endif
}
/***********************************************************************
More information about the wine-cvs
mailing list