You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by we...@apache.org on 2013/12/16 04:00:05 UTC

[3/5] git commit: should declare int result

should declare int result


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

Branch: refs/heads/refine_cluster
Commit: cb0b2b5a29c9c0c4cc150a0595986c6293c375ab
Parents: f08fc4e
Author: Yu Qing <zh...@taobao.com>
Authored: Mon Dec 2 10:05:52 2013 +0800
Committer: Yu Qing <zh...@taobao.com>
Committed: Wed Dec 4 17:03:56 2013 +0800

----------------------------------------------------------------------
 iocore/cluster/EventPoll.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cb0b2b5a/iocore/cluster/EventPoll.cc
----------------------------------------------------------------------
diff --git a/iocore/cluster/EventPoll.cc b/iocore/cluster/EventPoll.cc
index 8a6b9e6..15cf422 100644
--- a/iocore/cluster/EventPoll.cc
+++ b/iocore/cluster/EventPoll.cc
@@ -127,6 +127,7 @@ int EventPoll::poll()
 #elif TS_USE_KQUEUE
   return kevent(_poll_fd, NULL, 0, _events, _size, &_timeout);
 #elif TS_USE_PORT
+  int result;
   int retval;
   unsigned nget = 1;
   if((retval = port_getn(_poll_fd, _events,