From d69ac7166289834d74be22f9202a28de82a7ed37 Mon Sep 17 00:00:00 2001 From: Tobias Schuele Date: Wed, 8 Oct 2014 22:09:27 +0200 Subject: [PATCH] Added EMBB_UNUSED_IN_RELEASE macro in thread_specific_storage-inl.h to avoid warning about unused variable. --- base_cpp/include/embb/base/internal/thread_specific_storage-inl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/base_cpp/include/embb/base/internal/thread_specific_storage-inl.h b/base_cpp/include/embb/base/internal/thread_specific_storage-inl.h index a2ba513..b206991 100644 --- a/base_cpp/include/embb/base/internal/thread_specific_storage-inl.h +++ b/base_cpp/include/embb/base/internal/thread_specific_storage-inl.h @@ -127,6 +127,7 @@ const Type& ThreadSpecificStorage::Get() const { unsigned int thread_index = 0; int status = embb_internal_thread_index(&thread_index); assert(status == EMBB_SUCCESS); + EMBB_UNUSED_IN_RELEASE(status); usage_flags_[thread_index] = true; return *value; } -- libgit2 0.26.0