@@ -451,7 +451,7 @@ typedef BOOLEAN boolean_t;
@retval None
**/
-#define ERROR_REPORT(S,A)
+#define ERROR_REPORT(S,A) UNREFERENCED_1PARAMETER(A)
/** ERROR_REPORT1 wrapper macro for shared code,
blank here
@@ -461,7 +461,7 @@ typedef BOOLEAN boolean_t;
@retval None
**/
-#define ERROR_REPORT1(S,A)
+#define ERROR_REPORT1(S,A) UNREFERENCED_1PARAMETER(A)
/** ERROR_REPORT2 wrapper macro for shared code,
blank here
@@ -472,7 +472,7 @@ typedef BOOLEAN boolean_t;
@retval None
**/
-#define ERROR_REPORT2(S,A,B)
+#define ERROR_REPORT2(S,A,B) UNREFERENCED_2PARAMETER(A,B)
/** ERROR_REPORT3 wrapper macro for shared code,
blank here
@@ -484,7 +484,7 @@ typedef BOOLEAN boolean_t;
@retval None
**/
-#define ERROR_REPORT3(S,A,B,C)
+#define ERROR_REPORT3(S,A,B,C) UNREFERENCED_3PARAMETER(A,B,C)
/** Macro for word conversion from CPU native
to Big Endian
We hit unused variable warnings since the various ERROR_REPORTn() macros resolve to nothing. So instead, map them to the macros that were created to prevent these warnings. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel