Fix a compiler warning

This commit is contained in:
Charlie Curtsinger 2019-10-08 09:57:00 -05:00
parent 52505ca380
commit 9cbccbc911

View File

@ -466,6 +466,8 @@ void* profiler::start_profiler_thread(void* arg) {
spinlock* l = (spinlock*)arg;
profiler::get_instance().profiler_thread(*l);
real::pthread_exit(nullptr);
// Unreachable return silences compiler warning
return nullptr;
}
void profiler::samples_ready(int signum, siginfo_t* info, void* p) {