summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-02-28 11:11:29 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-02-28 11:11:29 +0000
commitd15a9ab53998321f021b2a7a1a7c625019713e19 (patch)
tree01ef748df0bc8c5644f2015b4e6afdd1edc9fcd5 /ace
parent4377987e2d59d79427ffdfdd57c8a80bc68306bb (diff)
downloadATCD-d15a9ab53998321f021b2a7a1a7c625019713e19.tar.gz
ChangelogTag: Tue Feb 28 10:51:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace')
-rw-r--r--ace/Connector.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ace/Connector.cpp b/ace/Connector.cpp
index 71d1c619697..f588b605462 100644
--- a/ace/Connector.cpp
+++ b/ace/Connector.cpp
@@ -173,7 +173,6 @@ ACE_NonBlocking_Connect_Handler<SVC_HANDLER>::handle_exception (ACE_HANDLE h)
// On Win32, the except mask must also be set for asynchronous
// connects.
ACE_TRACE ("ACE_NonBlocking_Connect_Handler<SVC_HANDLER>::handle_exception");
-
return this->handle_output (h);
}
@@ -370,7 +369,7 @@ ACE_Connector<SVC_HANDLER, ACE_PEER_CONNECTOR_2>::connect_i
if (this->make_svc_handler (sh) == -1)
return -1;
- ACE_Time_Value *timeout;
+ ACE_Time_Value *timeout = 0;
int use_reactor = synch_options[ACE_Synch_Options::USE_REACTOR];
if (use_reactor)
@@ -653,7 +652,7 @@ ACE_Connector<SVC_HANDLER, ACE_PEER_CONNECTOR_2>::close (void)
// Go through all the non-blocking handles. It is necessary to
// create a new iterator each time because we remove from the handle
// set when we cancel the Svc_Handler.
- ACE_HANDLE *handle;
+ ACE_HANDLE *handle = 0;
while (1)
{
ACE_Unbounded_Set_Iterator<ACE_HANDLE>