[PSDK] Fix broken (DBG_)UNREFERENCED_LOCAL_VARIABLE macros

svn path=/trunk/; revision=59539
This commit is contained in:
Timo Kreuzer 2013-07-20 12:18:02 +00:00
parent 4f2e87a42f
commit 655d3f07a6
2 changed files with 5 additions and 5 deletions

View file

@ -321,9 +321,9 @@
/* Use to silence unused variable warnings when it is intentional */
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
#define UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
#define UNREFERENCED_LOCAL_VARIABLE(L) ((void)(L))
#define DBG_UNREFERENCED_PARAMETER(P) {(P)=(P);}
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L) ((void)(L))
/* min/max helper macros */
#ifndef NOMINMAX

View file

@ -130,9 +130,9 @@
#endif
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
#define UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
#define DBG_UNREFERENCED_PARAMETER(P) {(L)=(L);}
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
#define UNREFERENCED_LOCAL_VARIABLE(L) ((void)(L))
#define DBG_UNREFERENCED_PARAMETER(P) {(P)=(P);}
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L) ((void)(L))
#ifndef DECLSPEC_ALIGN
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)