Bug 1223262 - Fix -Wunreachable-code warning in tools/profiler. r=BenWa

tools/profiler/core/platform-linux.cc:363:11: warning: code will never be executed [-Wunreachable-code]
This commit is contained in:
Chris Peterson 2015-11-11 21:18:20 -08:00
parent ba0b7175d3
commit 5f6ec4fff6

View File

@ -359,8 +359,9 @@ static void* SignalSender(void* arg) {
printf_stderr("profiler failed to signal tid=%d\n", threadId);
#ifdef DEBUG
abort();
#endif
#else
continue;
#endif
}
// Wait for the signal handler to run before moving on to the next one