summaryrefslogtreecommitdiff
path: root/ace/Message_Queue_T.cpp
diff options
context:
space:
mode:
authorgonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-10 06:44:29 +0000
committergonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-10 06:44:29 +0000
commitd55f000499b3c08d8b368c44819864fdf6af6e0c (patch)
tree7ab6c778040ca5405622de6be426f45f08f4de24 /ace/Message_Queue_T.cpp
parentd53cf9dcbee9193da87ee08130cbd156ff6eb829 (diff)
downloadATCD-d55f000499b3c08d8b368c44819864fdf6af6e0c.tar.gz
Support for Borland C++ 5.x as DLL
Diffstat (limited to 'ace/Message_Queue_T.cpp')
-rw-r--r--ace/Message_Queue_T.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Message_Queue_T.cpp b/ace/Message_Queue_T.cpp
index a7249b52123..4fc2794ed08 100644
--- a/ace/Message_Queue_T.cpp
+++ b/ace/Message_Queue_T.cpp
@@ -758,7 +758,7 @@ ACE_Dynamic_Message_Queue<ACE_SYNCH_USE>::enqueue_i (ACE_Message_Block *new_item
{
ACE_TRACE ("ACE_Dynamic_Message_Queue<ACE_SYNCH_USE>::enqueue_i");
- int result = 0;
+ int result;
// get the current time
ACE_Time_Value current_time = ACE_OS::gettimeofday ();
@@ -809,7 +809,7 @@ ACE_Dynamic_Message_Queue<ACE_SYNCH_USE>::dequeue_head (ACE_Message_Block *&firs
return -1;
}
- int result = 0;
+ int result;
// get the current time
ACE_Time_Value current_time = ACE_OS::gettimeofday ();
@@ -952,8 +952,8 @@ ACE_Dynamic_Message_Queue<ACE_SYNCH_USE>::remove_stale_messages (const ACE_Time_
// management scheme to be configured in either case.
ACE_Message_Block *temp1 = remove_head;
ACE_Message_Block *temp2 = remove_head->next ();
- ACE_Message_Block *size_temp = 0;
- size_t msg_size = 0;
+ ACE_Message_Block *size_temp;
+ size_t msg_size;
while (temp1)
{
// Make sure to count *all* the bytes in a composite message!!!