From ae747db810ac59da81d6c5f055c04ed2a882aded Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 22 Sep 2022 17:31:47 -0700 Subject: [PATCH] Suppress unused-paramter warnings in softfloat --- softfloat/specialize.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/softfloat/specialize.h b/softfloat/specialize.h index 556476c1..d8a19851 100644 --- a/softfloat/specialize.h +++ b/softfloat/specialize.h @@ -238,6 +238,9 @@ INLINE struct uint128 softfloat_commonNaNToExtF80UI( const struct commonNaN *aPtr ) { struct uint128 uiZ; + + (void) aPtr; + uiZ.v64 = defaultNaNExtF80UI64; uiZ.v0 = defaultNaNExtF80UI0; return uiZ; @@ -295,6 +298,9 @@ INLINE struct uint128 softfloat_commonNaNToF128UI( const struct commonNaN *aPtr ) { struct uint128 uiZ; + + (void) aPtr; + uiZ.v64 = defaultNaNF128UI64; uiZ.v0 = defaultNaNF128UI0; return uiZ;