[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
+1 -1
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 */