sal/rtl/alloc_arena.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit f8e3ad02737854686a590f7f8f02eb72e03a0f8e
Author: Stephan Bergmann <[email protected]>
Date: Wed May 16 10:21:11 2018 +0200
Remove leftover "#pragma GCC diagnostic ignored" half
...where the other half introduced with
1b12d5ecb1be36267534e0b980d7c53d50645511
"Work around GCC 7 mis-feature" has now been removed with
6da400912e8c69ae86650e799767da54ee422392 "[API CHANGE] Remove no longer
working
rtl_arena -> rtl_cache feature"
Change-Id: I79b71d119848150c0ebd2244f0ace08609fd17e9
Reviewed-on: https://gerrit.libreoffice.org/54417
Tested-by: Jenkins <[email protected]>
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/sal/rtl/alloc_arena.cxx b/sal/rtl/alloc_arena.cxx
index b321e8e23f91..94944c105845 100644
--- a/sal/rtl/alloc_arena.cxx
+++ b/sal/rtl/alloc_arena.cxx
@@ -601,10 +601,6 @@ void rtl_arena_destructor(void * obj)
assert(arena->m_hash_shift == highbit(arena->m_hash_size) - 1);
}
-#if defined __GNUC__ && __GNUC__ >= 7
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wformat-truncation"
-#endif
rtl_arena_type * rtl_arena_activate(
rtl_arena_type * arena,
const char * name,
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits