Commit 3b8a7242 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Suppressed compiler warning by using the 'unused' attribute.

parent 95049edd
......@@ -172,7 +172,7 @@ extern DWORD DEBUG_SendCreateThreadEvent( void *entry );
extern DWORD DEBUG_SendLoadDLLEvent( HFILE file, HMODULE module, LPSTR name );
extern DWORD DEBUG_SendUnloadDLLEvent( HMODULE module );
static inline PDB *PROCESS_Current(void)
static inline PDB * WINE_UNUSED PROCESS_Current(void)
{
return NtCurrentTeb()->process;
}
......
......@@ -831,13 +831,13 @@ enum request
/* client communication functions */
/* get a pointer to the request buffer */
static inline void *get_req_buffer(void)
static inline void * WINE_UNUSED get_req_buffer(void)
{
return NtCurrentTeb()->buffer;
}
/* maximum remaining size in the server buffer */
static inline int server_remaining( const void *ptr )
static inline int WINE_UNUSED server_remaining( const void *ptr )
{
return (char *)NtCurrentTeb()->buffer + NtCurrentTeb()->buffer_size - (char *)ptr;
}
......
......@@ -135,7 +135,7 @@ extern DWORD WINAPI WINE_finally_handler( PEXCEPTION_RECORD record, EXCEPTION_FR
#endif /* USE_COMPILER_EXCEPTIONS */
static inline EXCEPTION_FRAME *EXC_push_frame( EXCEPTION_FRAME *frame )
static inline EXCEPTION_FRAME * WINE_UNUSED EXC_push_frame( EXCEPTION_FRAME *frame )
{
#if defined(__GNUC__) && defined(__i386__)
EXCEPTION_FRAME *prev;
......@@ -152,7 +152,7 @@ static inline EXCEPTION_FRAME *EXC_push_frame( EXCEPTION_FRAME *frame )
#endif
}
static inline EXCEPTION_FRAME *EXC_pop_frame( EXCEPTION_FRAME *frame )
static inline EXCEPTION_FRAME * WINE_UNUSED EXC_pop_frame( EXCEPTION_FRAME *frame )
{
#if defined(__GNUC__) && defined(__i386__)
__asm__ __volatile__(".byte 0x64\n\tmovl %0,(0)"
......
......@@ -514,7 +514,7 @@ WINAPI SetUnhandledExceptionFilter( LPTOP_LEVEL_EXCEPTION_FILTER filter );
struct _TEB;
#if defined(__i386__) && defined(__WINE__)
static inline struct _TEB *__get_teb(void)
static inline struct _TEB * WINE_UNUSED __get_teb(void)
{
struct _TEB *teb;
__asm__(".byte 0x64\n\tmovl (0x18),%0" : "=r" (teb));
......
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