diff options
Diffstat (limited to 'tests/test-localename.c')
-rw-r--r-- | tests/test-localename.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-localename.c b/tests/test-localename.c index d56d14ed0a..090afeb538 100644 --- a/tests/test-localename.c +++ b/tests/test-localename.c @@ -35,6 +35,10 @@ # define freelocale(loc) ((void) (loc)) #endif +/* Suppress GCC false positive. */ +#if __GNUC__ >= 10 +# pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value" +#endif #if HAVE_GOOD_USELOCALE |