mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:22:56 +00:00
[XDK] Remove UNREFERENCE_LOCAL_VARIABLE macro
Change UNREFERENCED_PARAMETER to (VOID)P to support const parameters
This commit is contained in:
parent
af0f8581ad
commit
46ca069e42
7 changed files with 10 additions and 20 deletions
|
@ -314,8 +314,7 @@
|
|||
#endif /* DEPRECATE_DDK_FUNCTIONS */
|
||||
|
||||
/* Use to silence unused variable warnings when it is intentional */
|
||||
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
|
||||
#define UNREFERENCED_LOCAL_VARIABLE(L) ((void)(L))
|
||||
#define UNREFERENCED_PARAMETER(P) ((void)(P))
|
||||
#define DBG_UNREFERENCED_PARAMETER(P) {(P)=(P);}
|
||||
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L) ((void)(L))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue