From be1e9c595142f9826218706f52181e278dace6c6 Mon Sep 17 00:00:00 2001 From: Matthias Schulz Date: Mon, 13 Nov 2023 09:33:33 +0100 Subject: [PATCH] Pop only when pushed. Signed-off-by: Matthias Schulz --- library/constant_time_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/constant_time_impl.h b/library/constant_time_impl.h index 793ded4b90..273d2153b9 100644 --- a/library/constant_time_impl.h +++ b/library/constant_time_impl.h @@ -546,7 +546,7 @@ static inline mbedtls_ct_condition_t mbedtls_ct_bool_not(mbedtls_ct_condition_t return (mbedtls_ct_condition_t) (~x); } -#ifdef __GNUC__ +#if __GNUC__ > 4 /* Restore warnings for -Wredundant-decls on gcc */ #pragma GCC diagnostic pop #endif