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
b0394dea
Commit
b0394dea
authored
Sep 01, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of the WINE_UNUSED macro.
parent
bf5470c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
33 deletions
+8
-33
iconcache.c
dlls/shell32/iconcache.c
+0
-23
exception.h
include/wine/exception.h
+5
-1
winnt.h
include/winnt.h
+0
-8
driver.c
windows/driver.c
+3
-1
No files found.
dlls/shell32/iconcache.c
View file @
b0394dea
...
...
@@ -197,29 +197,6 @@ INT SIC_GetIconIndex (LPCWSTR sSourceFile, INT dwSourceIndex )
LeaveCriticalSection
(
&
SHELL32_SicCS
);
return
ret
;
}
/****************************************************************************
* SIC_GetIcon [internal]
*
* NOTES
* retrieves the specified icon from the iconcache. if not found tries to load the icon
*/
static
HICON
WINE_UNUSED
SIC_GetIcon
(
LPCWSTR
sSourceFile
,
INT
dwSourceIndex
,
BOOL
bSmallIcon
)
{
INT
index
;
TRACE
(
"%s %i
\n
"
,
debugstr_w
(
sSourceFile
),
dwSourceIndex
);
index
=
SIC_GetIconIndex
(
sSourceFile
,
dwSourceIndex
);
if
(
INVALID_INDEX
==
index
)
{
return
(
HICON
)
INVALID_INDEX
;
}
if
(
bSmallIcon
)
return
ImageList_GetIcon
(
ShellSmallIconList
,
index
,
ILD_NORMAL
);
return
ImageList_GetIcon
(
ShellBigIconList
,
index
,
ILD_NORMAL
);
}
/*****************************************************************************
* SIC_Initialize [internal]
*
...
...
include/wine/exception.h
View file @
b0394dea
...
...
@@ -74,6 +74,10 @@
#else
/* USE_COMPILER_EXCEPTIONS */
#ifndef __GNUC__
#define __attribute__(x)
/* nothing */
#endif
#define __TRY \
do { __WINE_FRAME __f; \
int __first = 1; \
...
...
@@ -90,7 +94,7 @@
__f.u.filter = (func); \
__wine_push_frame( &__f.frame ); \
if (sigsetjmp( __f.jmp, 1 )) { \
const __WINE_FRAME * const __eptr
WINE_UNUSED
= &__f; \
const __WINE_FRAME * const __eptr
__attribute__((unused))
= &__f; \
do {
#define __ENDTRY \
...
...
include/winnt.h
View file @
b0394dea
...
...
@@ -31,14 +31,6 @@
#define NTAPI __stdcall
/* Macro for structure packing and more. */
#ifdef __GNUC__
#define WINE_UNUSED __attribute__((unused))
#else
#define WINE_UNUSED
/* nothing */
#endif
#if (defined(_M_IX86) || defined(_M_IA64) || defined(_M_AMD64) || defined(__MINGW32__)) && !defined(MIDL_PASS)
# if defined(_MSC_VER)
# define DECLSPEC_IMPORT __declspec(dllimport)
...
...
windows/driver.c
View file @
b0394dea
...
...
@@ -57,7 +57,8 @@ static LPWINE_DRIVER lpDrvItemList = NULL;
/**************************************************************************
* LoadStartupDrivers [internal]
*/
static
void
WINE_UNUSED
DRIVER_LoadStartupDrivers
(
void
)
#if 0
static void DRIVER_LoadStartupDrivers(void)
{
char str[256];
...
...
@@ -75,6 +76,7 @@ static void WINE_UNUSED DRIVER_LoadStartupDrivers(void)
TRACE("end of list !\n");
}
}
#endif
/**************************************************************************
* DRIVER_GetNumberOfModuleRefs [internal]
...
...
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