[XDK] Even the DBG_UNREFERENCED_PARAMETER() should use (void)P. Addendum to 46ca069e.

This commit is contained in:
Hermès Bélusca-Maïto 2021-01-18 22:23:24 +01:00
parent 46ca069e42
commit 9aa73da948
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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 */