aboutsummaryrefslogtreecommitdiff
path: root/libbutl
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-20 11:14:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-20 11:14:00 +0200
commit7f88f5ec14ab650600bdc3063c81275f7cd70359 (patch)
treeed418ec7b51c4763c1494905cd7f2c4845f601d4 /libbutl
parent37758a01761331f534768a95f1948637cb7149c6 (diff)
Disable bunch of bogus GCC warnings
Diffstat (limited to 'libbutl')
-rw-r--r--libbutl/utility.ixx12
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