rpcrt4/tests: Remove an unneeded '#if 0' and fix the code so it
compiles without warnings.
Francois Gouget
fgouget at free.fr
Sat Jan 6 12:29:49 CST 2007
---
dlls/rpcrt4/tests/cstub.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/rpcrt4/tests/cstub.c b/dlls/rpcrt4/tests/cstub.c
index ceed0d0..ef0c156 100644
--- a/dlls/rpcrt4/tests/cstub.c
+++ b/dlls/rpcrt4/tests/cstub.c
@@ -869,12 +869,9 @@ static void test_delegating_Invoke(IPSFactoryBuffer *ppsf)
memset(&msg, 0, sizeof(msg));
msg.dataRepresentation = NDR_LOCAL_DATA_REPRESENTATION;
msg.iMethod = 3;
-#if 0 /* FIXME: Figure out why this fails in Windows */
+ /* FIXME: Figure out why this fails on Windows */
r = IRpcStubBuffer_Invoke(pstub, &msg, pchan);
- ok(r == S_OK, "ret %08lx\n", r);
-#else
- pchan = NULL; /* stop compiler waring */
-#endif
+ ok(r == S_OK, "ret %08x\n", r);
if(r == S_OK)
{
ok(*(DWORD*)msg.Buffer == 0xabcdef, "buf[0] %08x\n", *(DWORD*)msg.Buffer);
--
1.4.4.2
More information about the wine-patches
mailing list