Fix debug build (#697)

Similar to #418.
master
Juraj Oršulić 2017-11-23 14:20:01 +01:00 committed by Wally B. Feed
parent 147c8166b6
commit 8f9f1cf44e
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ PointsProcessor::FlushResult ProbabilityGridPointsProcessor::Flush() {
return FlushResult::kFinished;
}
LOG(FATAL);
// The following unreachable return statement is needed to avoid a GCC bug
// described at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81508
return FlushResult::kFinished;
}
std::unique_ptr<Image> DrawProbabilityGrid(