]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix build
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Apr 2019 17:34:42 +0000 (18:34 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Apr 2019 17:34:42 +0000 (18:34 +0100)
src/libcryptobox/cryptobox.c

index 88b8044ca919f12a97c868f127b0202e99f567b1..7cd5e1b133a9443f974f253ca5d140e26c87d729 100644 (file)
@@ -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 {