0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00

#0 [Core] Suppress warning for unused variable

This commit is contained in:
Victor Zarubkin 2017-10-04 22:46:13 +03:00
parent a32d3576c6
commit 1f8cc6346c

View File

@ -1553,7 +1553,7 @@ const char* ProfileManager::registerThread(const char* name, ThreadGuard& thread
THIS_THREAD_GUARD.m_id = THIS_THREAD->id;
}
threadGuard; // this is just to prevent from warning about unused variable
(void)threadGuard; // this is just to prevent from warning about unused variable
#else
}