Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
68f90d96
Commit
68f90d96
authored
Oct 28, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/ntdll: Mark a variable as unused.
parent
0a20ec09
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
virtual.c
dlls/kernel32/virtual.c
+1
-1
virtual.c
dlls/ntdll/virtual.c
+1
-1
exception.h
include/wine/exception.h
+4
-4
No files found.
dlls/kernel32/virtual.c
View file @
68f90d96
...
...
@@ -650,7 +650,7 @@ BOOL WINAPI IsBadReadPtr( LPCVOID ptr, UINT size )
__TRY
{
volatile
const
char
*
p
=
ptr
;
char
dummy
;
char
dummy
__attribute__
((
unused
))
;
UINT
count
=
size
;
while
(
count
>
page_size
)
...
...
dlls/ntdll/virtual.c
View file @
68f90d96
...
...
@@ -1651,7 +1651,7 @@ BOOL virtual_check_buffer_for_read( const void *ptr, SIZE_T size )
__TRY
{
volatile
const
char
*
p
=
ptr
;
char
dummy
;
char
dummy
__attribute__
((
unused
))
;
SIZE_T
count
=
size
;
while
(
count
>
page_size
)
...
...
include/wine/exception.h
View file @
68f90d96
...
...
@@ -69,6 +69,10 @@ extern "C" {
* -- AJ
*/
#ifndef __GNUC__
#define __attribute__(x)
/* nothing */
#endif
/* Define this if you want to use your compiler built-in __try/__except support.
* This is only useful when compiling to a native Windows binary, as the built-in
* compiler exceptions will most certainly not work under Winelib.
...
...
@@ -84,10 +88,6 @@ extern "C" {
#else
/* USE_COMPILER_EXCEPTIONS */
#ifndef __GNUC__
#define __attribute__(x)
/* nothing */
#endif
#if defined(__MINGW32__) || defined(__CYGWIN__)
#define sigjmp_buf jmp_buf
#define sigsetjmp(buf,sigs) setjmp(buf)
...
...
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