summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-05-16 10:21:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-05-17 08:17:30 +0200
commitf8e3ad02737854686a590f7f8f02eb72e03a0f8e (patch)
tree042f459dd32663406c7c1a9617581a892aeec8f8 /sal
parent47dc3115f12ff16dc326b6edd12c46e6a6ef1843 (diff)
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 <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/alloc_arena.cxx4
1 files changed, 0 insertions, 4 deletions
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,