mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
[PSDK]
- Add proper definition for DBG_UNREFERENCED_PARAMETER and DBG_UNREFERENCED_LOCAL_VARIABLE [NTOSKRNL/RTL] - Fix a number of warnings about unreferenced local variables - Add 2 assertions that unmapping a section succeeds svn path=/trunk/; revision=59151
This commit is contained in:
@@ -310,8 +310,8 @@
|
||||
/* Use to silence unused variable warnings when it is intentional */
|
||||
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
|
||||
#define UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
|
||||
#define DBG_UNREFERENCED_PARAMETER(P)
|
||||
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L)
|
||||
#define DBG_UNREFERENCED_PARAMETER(P) {(P)=(P);}
|
||||
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
|
||||
|
||||
/* min/max helper macros */
|
||||
#ifndef NOMINMAX
|
||||
|
||||
@@ -131,8 +131,8 @@
|
||||
|
||||
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
|
||||
#define UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
|
||||
#define DBG_UNREFERENCED_PARAMETER(P)
|
||||
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L)
|
||||
#define DBG_UNREFERENCED_PARAMETER(P) {(L)=(L);}
|
||||
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
|
||||
|
||||
#ifndef DECLSPEC_ALIGN
|
||||
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
|
||||
|
||||
Reference in New Issue
Block a user