Warning fixes.

This commit is contained in:
Jeff Garzik 2001-03-21 20:31:26 +00:00 committed by Alexandre Julliard
parent f46eb1db43
commit 3ea0c073f8
5 changed files with 9 additions and 5 deletions

View File

@ -360,8 +360,10 @@ HRESULT WINAPI IDirect3DTexture2Impl_Load(
DDSURFACEDESC *src_d, *dst_d; DDSURFACEDESC *src_d, *dst_d;
static void (*ptr_ColorTableEXT) (GLenum target, GLenum internalformat, static void (*ptr_ColorTableEXT) (GLenum target, GLenum internalformat,
GLsizei width, GLenum format, GLenum type, const GLvoid *table) = NULL; GLsizei width, GLenum format, GLenum type, const GLvoid *table) = NULL;
#if 0
static BOOL color_table_queried = FALSE; static BOOL color_table_queried = FALSE;
#endif
TRACE("(%p)->(%p)\n", This, ilpD3DTexture2); TRACE("(%p)->(%p)\n", This, ilpD3DTexture2);
TRACE("Copied surface %p to surface %p\n", ilpD3DTexture2->surface, This->surface); TRACE("Copied surface %p to surface %p\n", ilpD3DTexture2->surface, This->surface);

View File

@ -706,7 +706,8 @@ static DWORD MCICDA_Seek(UINT wDevID, DWORD dwFlags, LPMCI_SEEK_PARMS lpParms)
at = lpParms->dwTo; at = lpParms->dwTo;
break; break;
default: default:
TRACE("Seeking to ??=%lu\n", dwFlags); TRACE("Unknown seek action %08lX\n",
(dwFlags & ~(MCI_NOTIFY|MCI_WAIT)));
return MCIERR_UNSUPPORTED_FUNCTION; return MCIERR_UNSUPPORTED_FUNCTION;
} }
if (CDROM_Audio_Seek(&wmcda->wcda, at, -1) == -1) { if (CDROM_Audio_Seek(&wmcda->wcda, at, -1) == -1) {

View File

@ -131,5 +131,5 @@ DWORD WINAPI NPSNotifyRegisterA(enum NOTIFYTYPE,NOTIFYCALLBACK);
LPVOID WINAPI NPSNotifyGetContextA(NOTIFYCALLBACK); LPVOID WINAPI NPSNotifyGetContextA(NOTIFYCALLBACK);
#define NPSNotifyGetContext WINELIB_NAME_AW(NPSNotifyGetContext) #define NPSNotifyGetContext WINELIB_NAME_AW(NPSNotifyGetContext)
#endif _NETSPI_H_ #endif /* _NETSPI_H_ */

View File

@ -113,5 +113,6 @@ int main( int argc, char *argv[] )
close_atom_table(); close_atom_table();
dump_objects(); /* dump any remaining objects */ dump_objects(); /* dump any remaining objects */
#endif #endif
exit(0);
return 0;
} }

View File

@ -1902,7 +1902,7 @@ void trace_request( struct thread *thread, const union generic_request *request
req_dumpers[req]( request ); req_dumpers[req]( request );
fprintf( stderr, " )\n" ); fprintf( stderr, " )\n" );
} }
else fprintf( stderr, "%08x: %d(???)\n", (unsigned int)thread, req ); else fprintf( stderr, "%08x: %d(?)\n", (unsigned int)thread, req );
} }
void trace_reply( struct thread *thread, const union generic_request *request ) void trace_reply( struct thread *thread, const union generic_request *request )