aboutsummaryrefslogtreecommitdiff
path: root/libbutl/utility.mxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-15 14:47:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-15 14:47:25 +0200
commitfe7ff3cedadc33655d6a27b9410515e4e6153c0e (patch)
tree82f30d4285dd427b6045e8064a2b65d76a9e5355 /libbutl/utility.mxx
parentfc5599e0a51aa42cbc3abf743790cc61f9fd94be (diff)
Disable bogus GCC maybe used uninitialized warning with pragma
Diffstat (limited to 'libbutl/utility.mxx')
-rw-r--r--libbutl/utility.mxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/utility.mxx b/libbutl/utility.mxx
index f329a0f..6965be4 100644
--- a/libbutl/utility.mxx
+++ b/libbutl/utility.mxx
@@ -291,11 +291,11 @@ LIBBUTL_MODEXPORT namespace butl
LIBBUTL_SYMEXPORT void
thread_env (const char* const*);
#else
- inline const char* const*
- thread_env () {return thread_env_;}
+ const char* const*
+ thread_env ();
- inline void
- thread_env (const char* const* v) {thread_env_ = v;}
+ void
+ thread_env (const char* const*);
#endif
struct auto_thread_env