diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-20 11:14:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-20 11:14:00 +0200 |
commit | 7f88f5ec14ab650600bdc3063c81275f7cd70359 (patch) | |
tree | ed418ec7b51c4763c1494905cd7f2c4845f601d4 /libbutl/utility.ixx | |
parent | 37758a01761331f534768a95f1948637cb7149c6 (diff) |
Disable bunch of bogus GCC warnings
Diffstat (limited to 'libbutl/utility.ixx')
-rw-r--r-- | libbutl/utility.ixx | 12 |
1 files changed, 0 insertions, 12 deletions
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 |