mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmah...@apache.org
Subject mesos git commit: Added UNREACHABLE to Clock::settled to silence compiler warning.
Date Mon, 17 Nov 2014 18:44:03 GMT
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 <bmahler@twitter.com>
Authored: Mon Nov 17 10:43:56 2014 -0800
Committer: Benjamin Mahler <bmahler@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();
 }
 
 


Mime
View raw message