Module: wine Branch: master Commit: f43b549081e41b5abd588e20811a8bd1d638329e URL: http://source.winehq.org/git/wine.git/?a=commit;h=f43b549081e41b5abd588e2081...
Author: Francois Gouget fgouget@free.fr Date: Sat Jan 6 19:29:49 2007 +0100
rpcrt4/tests: Remove an unneeded '#if 0' and fix the code so it compiles without warnings.
---
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(IPSFa 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);