You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2014/11/17 19:44:03 UTC

mesos git commit: Added UNREACHABLE to Clock::settled to silence compiler warning.

Repository: mesos
Updated Branches:
  refs/heads/master a60da5487 -> 59215ad57


Added UNREACHABLE to Clock::settled to silence compiler warning.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/59215ad5
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/59215ad5
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/59215ad5

Branch: refs/heads/master
Commit: 59215ad57906d379cef635348911c887903f4f31
Parents: a60da54
Author: Benjamin Mahler <bm...@twitter.com>
Authored: Mon Nov 17 10:43:56 2014 -0800
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Mon Nov 17 10:43:56 2014 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/src/clock.cpp | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/59215ad5/3rdparty/libprocess/src/clock.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/clock.cpp b/3rdparty/libprocess/src/clock.cpp
index 5623b58..dfe9ced 100644
--- a/3rdparty/libprocess/src/clock.cpp
+++ b/3rdparty/libprocess/src/clock.cpp
@@ -15,6 +15,7 @@
 #include <stout/foreach.hpp>
 #include <stout/lambda.hpp>
 #include <stout/try.hpp>
+#include <stout/unreachable.hpp>
 
 #include "synchronized.hpp"
 
@@ -418,6 +419,8 @@ bool Clock::settled()
     VLOG(3) << "Clock is not settled";
     return false;
   }
+
+  UNREACHABLE();
 }