Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3b8a7242
Commit
3b8a7242
authored
Jul 24, 1999
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jul 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppressed compiler warning by using the 'unused' attribute.
parent
95049edd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
process.h
include/process.h
+1
-1
server.h
include/server.h
+2
-2
exception.h
include/wine/exception.h
+2
-2
winnt.h
include/winnt.h
+1
-1
No files found.
include/process.h
View file @
3b8a7242
...
...
@@ -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
;
}
...
...
include/server.h
View file @
3b8a7242
...
...
@@ -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
;
}
...
...
include/wine/exception.h
View file @
3b8a7242
...
...
@@ -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\t
movl %0,(0)"
...
...
include/winnt.h
View file @
3b8a7242
...
...
@@ -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\t
movl (0x18),%0"
:
"=r"
(
teb
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment