Commit 7f4d1f4e authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Removed left over 'show' and useless deadbeef checking which doesn't

work.
parent 335276ab
...@@ -69,12 +69,11 @@ int RELAY_ShowDebugmsgRelay(const char *func) { ...@@ -69,12 +69,11 @@ int RELAY_ShowDebugmsgRelay(const char *func) {
*/ */
int RELAY_CallFrom32( int ret_addr, ... ) int RELAY_CallFrom32( int ret_addr, ... )
{ {
int i, ret, show; int i, ret;
char buffer[80]; char buffer[80];
FARPROC32 func; FARPROC32 func;
unsigned int mask, typemask; unsigned int mask, typemask;
WORD fs; WORD fs;
DWORD deadbeef = 0xdeadbeef,*xdeadbeef = &deadbeef;
int *args = &ret_addr; int *args = &ret_addr;
/* Relay addr is the return address for this function */ /* Relay addr is the return address for this function */
...@@ -181,10 +180,8 @@ int RELAY_CallFrom32( int ret_addr, ... ) ...@@ -181,10 +180,8 @@ int RELAY_CallFrom32( int ret_addr, ... )
assert(FALSE); assert(FALSE);
} }
} }
if(show) DPRINTF( "Ret %s() retval=%08x ret=%08x fs=%04x\n",
DPRINTF( "Ret %s() retval=%08x ret=%08x fs=%04x\n", buffer, ret, ret_addr, fs );
buffer, ret, ret_addr, fs );
assert(*xdeadbeef==0xdeadbeef);
return ret; return ret;
} }
......
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