Revert D4310312: [Folly] Enable -Wunreachable-code
[folly.git] / folly / experimental / DynamicParser.cpp
index 734013c90fdda8d1d42f79e55f9ddbb3ce915366..18dd25fd1b5baab04ca6412e9f9c13618cf29ec7 100644 (file)
@@ -96,6 +96,7 @@ void DynamicParser::reportError(
       break;  // Continue parsing
     case OnError::THROW:
       stack_.throwErrors();  // Package releaseErrors() into an exception.
+      LOG(FATAL) << "Not reached";  // silence lint false positive
     default:
       LOG(FATAL) << "Bad onError_: " << static_cast<int>(onError_);
   }