You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/11/17 19:42:33 UTC
[jira] [Created] (MESOS-2117) clock.cpp: control reaches end of
non-void function.
Benjamin Mahler created MESOS-2117:
--------------------------------------
Summary: clock.cpp: control reaches end of non-void function.
Key: MESOS-2117
URL: https://issues.apache.org/jira/browse/MESOS-2117
Project: Mesos
Issue Type: Bug
Components: build
Reporter: Benjamin Mahler
Caused by this code:
{code}
bool Clock::settled()
{
synchronized (timeouts) {
CHECK(clock::paused);
if (update_timer) {
return false;
} else if (clock::settling) {
VLOG(3) << "Clock still not settled";
return false;
} else if (timeouts->size() == 0 ||
timeouts->begin()->first > clock::current) {
VLOG(3) << "Clock is settled";
return true;
}
VLOG(3) << "Clock is not settled";
return false;
}
}
{code}
{noformat}
src/clock.cpp: In static member function 'static bool process::Clock::settled()':
src/clock.cpp:421:1: warning: control reaches end of non-void function [-Wreturn-type]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)