Commit d69ac716 by Tobias Schuele

Added EMBB_UNUSED_IN_RELEASE macro in thread_specific_storage-inl.h to avoid…

Added EMBB_UNUSED_IN_RELEASE macro in thread_specific_storage-inl.h to avoid warning about unused variable.
parent 202a0862
...@@ -127,6 +127,7 @@ const Type& ThreadSpecificStorage<Type>::Get() const { ...@@ -127,6 +127,7 @@ const Type& ThreadSpecificStorage<Type>::Get() const {
unsigned int thread_index = 0; unsigned int thread_index = 0;
int status = embb_internal_thread_index(&thread_index); int status = embb_internal_thread_index(&thread_index);
assert(status == EMBB_SUCCESS); assert(status == EMBB_SUCCESS);
EMBB_UNUSED_IN_RELEASE(status);
usage_flags_[thread_index] = true; usage_flags_[thread_index] = true;
return *value; return *value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment