Commit f43b5490 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

rpcrt4/tests: Remove an unneeded '#if 0' and fix the code so it compiles without warnings.

parent 9f586f1b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment