From fe7ff3cedadc33655d6a27b9410515e4e6153c0e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Apr 2021 14:47:25 +0200 Subject: Disable bogus GCC maybe used uninitialized warning with pragma --- libbutl/utility.mxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbutl/utility.mxx') 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 -- cgit v1.1