commit 6a3f845: [Minor] Fix build

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Apr 23 17:42:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-04-23 18:34:42 +0100
URL: https://github.com/rspamd/rspamd/commit/6a3f845c260ab27c48f5e2568f49ecd01817e28c

[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 {


More information about the Commits mailing list