Repository: mesos
Updated Branches:
  refs/heads/master 6a19ad12b -> d580ecab3


Silenced a warning from clang.


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

Branch: refs/heads/master
Commit: d580ecab3a0d119651f07edf887554efe65b3e6c
Parents: 6a19ad1
Author: Jie Yu <yujie....@gmail.com>
Authored: Thu Dec 1 12:27:59 2016 -0800
Committer: Jie Yu <yujie....@gmail.com>
Committed: Thu Dec 1 12:28:03 2016 -0800

----------------------------------------------------------------------
 src/slave/containerizer/mesos/io/switchboard.cpp | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d580ecab/src/slave/containerizer/mesos/io/switchboard.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/io/switchboard.cpp 
b/src/slave/containerizer/mesos/io/switchboard.cpp
index 3e1c8bb..594c37e 100644
--- a/src/slave/containerizer/mesos/io/switchboard.cpp
+++ b/src/slave/containerizer/mesos/io/switchboard.cpp
@@ -614,6 +614,10 @@ IOSwitchboardServerProcess::IOSwitchboardServerProcess(
 
 Future<Nothing> IOSwitchboardServerProcess::run()
 {
+  // TODO(jieyu): This silence the compiler warning of private field
+  // being not used. Remove this once it is used.
+  stdinToFd = -1;
+
   if (!waitForConnection) {
     startRedirect.set(Nothing());
   }

Reply via email to