commit | 2a6ad855dba1e5bb5aa5be87c5ca66cff954591c | [log] [tgz] |
---|---|---|
author | jcater <jcater@google.com> | Fri Jun 14 13:52:14 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jun 14 13:53:21 2019 -0700 |
tree | 6c48d208e29bb3ec062806766e1eeba9431236e0 | |
parent | ebfd3bcb0baec0774db584fd3ff5445a1ec7925b [diff] |
try again to silence the compiler warning about reaching the end of RestartReason. Followup to http://https://github.com/bazelbuild/bazel/commit/1efbc1bdf3b176bf6867995fb9e4fa89735cfed0. PiperOrigin-RevId: 253289715
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc index 2b128d4..3efb909 100644 --- a/src/main/cpp/blaze.cc +++ b/src/main/cpp/blaze.cc
@@ -191,6 +191,8 @@ BAZEL_DIE(blaze_exit_code::INTERNAL_ERROR) << "unknown RestartReason (" << reason << ")."; + // Cannot actually reach this, but it makes the compiler happy. + return "unknown"; } // Encapsulates miscellaneous information reported to the server for logging and