From 6a3f845c260ab27c48f5e2568f49ecd01817e28c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 23 Apr 2019 18:34:42 +0100 Subject: [PATCH] [Minor] Fix build --- src/libcryptobox/cryptobox.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index 88b8044ca..7cd5e1b13 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -1492,13 +1492,6 @@ G_STATIC_ASSERT (sizeof (t1ha_context_t) <= G_STATIC_ASSERT (sizeof (XXH64_state_t) <= sizeof (((rspamd_cryptobox_fast_hash_state_t *)NULL)->opaque)); -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wgnu" -G_STATIC_ASSERT(G_ALIGNOF (t1ha_context_t) <= - G_ALIGNOF (((rspamd_cryptobox_fast_hash_state_t *)NULL)->opaque)); -#pragma GCC diagnostic pop -#endif struct RSPAMD_ALIGNED(16) _mum_iuf { union { -- 2.39.5