Fix debug build. (#570)

master
Juraj Oršulić 2017-11-03 10:56:06 +01:00 committed by Wolfgang Hess
parent 7403d82fbb
commit e2f018d311
1 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,9 @@ RosMapWritingPointsProcessor::Flush() {
return FlushResult::kFinished; return FlushResult::kFinished;
} }
LOG(FATAL); 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;
} }
} // namespace cartographer_ros } // namespace cartographer_ros