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

work.
This commit is contained in:
Marcus Meissner 1998-11-24 20:25:04 +00:00 committed by Alexandre Julliard
parent 335276ab6b
commit 7f4d1f4ebf
1 changed files with 3 additions and 6 deletions

View File

@ -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, ... )
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;
} }