From: Hermès Bélusca-Maïto Date: Mon, 18 Jan 2021 21:23:24 +0000 (+0100) Subject: [XDK] Even the DBG_UNREFERENCED_PARAMETER() should use (void)P. Addendum to 46ca069e. X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=9aa73da9487abde59f0a60b41b569fcd09567339 [XDK] Even the DBG_UNREFERENCED_PARAMETER() should use (void)P. Addendum to 46ca069e. --- diff --git a/sdk/include/xdk/ntbasedef.h b/sdk/include/xdk/ntbasedef.h index 671ec27b0ec..91c926257fb 100644 --- a/sdk/include/xdk/ntbasedef.h +++ b/sdk/include/xdk/ntbasedef.h @@ -315,7 +315,7 @@ /* Use to silence unused variable warnings when it is intentional */ #define UNREFERENCED_PARAMETER(P) ((void)(P)) -#define DBG_UNREFERENCED_PARAMETER(P) {(P)=(P);} +#define DBG_UNREFERENCED_PARAMETER(P) ((void)(P)) #define DBG_UNREFERENCED_LOCAL_VARIABLE(L) ((void)(L)) /* Void Pointers */