mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Fix a compiler warning
This commit is contained in:
parent
52505ca380
commit
9cbccbc911
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user