diff options
Diffstat (limited to 'vcl/unx/generic/fontmanager/parseAFM.cxx')
-rw-r--r-- | vcl/unx/generic/fontmanager/parseAFM.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/unx/generic/fontmanager/parseAFM.cxx b/vcl/unx/generic/fontmanager/parseAFM.cxx index 5b83021ee5d3..d933b000a43d 100644 --- a/vcl/unx/generic/fontmanager/parseAFM.cxx +++ b/vcl/unx/generic/fontmanager/parseAFM.cxx @@ -315,17 +315,16 @@ static char *linetoken( FileInputStream* stream ) * The algorithm is a standard Knuth binary search. */ #if defined __clang__ -#if __has_warning("-Wdeprecated-register") #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#if __has_warning("-Wdeprecated-register") #pragma GCC diagnostic ignored "-Wdeprecated-register" #endif #endif #include "afm_hash.hpp" #if defined __clang__ -#if __has_warning("-Wdeprecated-register") #pragma GCC diagnostic pop #endif -#endif static inline enum parseKey recognize( char* ident, int len) { |