From 7f88f5ec14ab650600bdc3063c81275f7cd70359 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Apr 2021 11:14:00 +0200 Subject: Disable bunch of bogus GCC warnings --- libbutl/utility.ixx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libbutl') diff --git a/libbutl/utility.ixx b/libbutl/utility.ixx index 55c8761..d1c8421 100644 --- a/libbutl/utility.ixx +++ b/libbutl/utility.ixx @@ -342,19 +342,7 @@ namespace butl inline void thread_env (const char* const* v) { - // Disable bogus GCC maybe used uninitialized warning (triggered via the - // use of auto_thread_env). - // -#if defined(__GNUC__) && !defined(__clang__) -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wmaybe-uninitialized" -#endif - thread_env_ = v; - -#if defined(__GNUC__) && !defined(__clang__) -# pragma GCC diagnostic pop -#endif } #endif -- cgit v1.1