From bdab9279a862772645c7b7c4be44230a08dbc7eb Mon Sep 17 00:00:00 2001 From: crodrigu Date: Wed, 14 Nov 2001 02:17:10 +0000 Subject: ChangeLogTag: Tue Nov 13 20:58:02 2001 Craig Rodrigues --- TAO/ChangeLogs/ChangeLog-02a | 10 ++++++++++ TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp | 4 ++-- TAO/orbsvcs/orbsvcs/AV/RTCP_Packet.cpp | 6 +++--- TAO/orbsvcs/orbsvcs/AV/UDP.cpp | 1 - TAO/orbsvcs/orbsvcs/AV/md5.h | 8 ++++---- 5 files changed, 19 insertions(+), 10 deletions(-) diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index c86988375f8..12c3e186097 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,13 @@ +Tue Nov 13 20:58:02 2001 Craig Rodrigues + + * orbsvcs/orbsvcs/AV/md5.h: Changed comments from C++ style + to C style in C file. + * orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp: + Default initialized variables. + * orbsvcs/orbsvcs/AV/RTCP_Packet.cpp: + Default initialized variable. + * orbsvcs/orbsvcs/AV/UDP.cpp: Removed unused variable. + Tue Nov 13 19:23:24 2001 Krishnakumar B * orbsvcs/tests/Concurrency/Makefile: diff --git a/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp b/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp index 27afeee6e72..ca4f611372d 100644 --- a/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp @@ -565,7 +565,7 @@ TAO_Forward_FlowSpec_Entry::entry_to_string (void) if (this->control_address_ != 0) { - u_short control_port; + u_short control_port = 0; switch (this->protocol_) { @@ -742,7 +742,7 @@ TAO_Reverse_FlowSpec_Entry::entry_to_string (void) if (this->control_address_ != 0) { - u_short control_port; + u_short control_port = 0; switch (this->protocol_) diff --git a/TAO/orbsvcs/orbsvcs/AV/RTCP_Packet.cpp b/TAO/orbsvcs/orbsvcs/AV/RTCP_Packet.cpp index 0d1d802ff73..1eb1f6c42d7 100644 --- a/TAO/orbsvcs/orbsvcs/AV/RTCP_Packet.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/RTCP_Packet.cpp @@ -463,8 +463,8 @@ RTCP_SDES_Packet::RTCP_SDES_Packet(char* buffer, int *len): RTCP_Packet (buffer) { unsigned int i; - sdesChunk_t *cp; // pointer to chunk - sdesItem_t *ip; // pointer to item + sdesChunk_t *cp = 0; // pointer to chunk + sdesItem_t *ip = 0; // pointer to item // The common part of the control packet header is processed // in the parent. It is 4 bytes long. @@ -1015,7 +1015,7 @@ RTCP_SR_Packet::RTCP_SR_Packet (char* buffer, : RTCP_Packet (buffer) { unsigned int i = 0; - RR_Block *local_block_ptr; + RR_Block *local_block_ptr = 0; this->rr_ = 0; diff --git a/TAO/orbsvcs/orbsvcs/AV/UDP.cpp b/TAO/orbsvcs/orbsvcs/AV/UDP.cpp index 6416a1eef3a..0e53d7ce491 100644 --- a/TAO/orbsvcs/orbsvcs/AV/UDP.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/UDP.cpp @@ -556,7 +556,6 @@ TAO_AV_UDP_Connector::connect (TAO_FlowSpec_Entry *entry, { ACE_INET_Addr *local_addr; - int result = -1; this->entry_ = entry; this->flowname_ = entry->flowname (); this->flow_component_ = flow_component; diff --git a/TAO/orbsvcs/orbsvcs/AV/md5.h b/TAO/orbsvcs/orbsvcs/AV/md5.h index 33b19b52299..4e4c1fe5261 100644 --- a/TAO/orbsvcs/orbsvcs/AV/md5.h +++ b/TAO/orbsvcs/orbsvcs/AV/md5.h @@ -35,12 +35,12 @@ typedef struct { extern "C" { #endif -//void MD5Init PROTO_LIST ((MD5_CTX *)); +/* void MD5Init PROTO_LIST ((MD5_CTX *)); */ void MD5Init (MD5_CTX *); -//void MD5Update PROTO_LIST -// ((MD5_CTX *, unsigned char *, unsigned int)); +/* void MD5Update PROTO_LIST */ +/* ((MD5_CTX *, unsigned char *, unsigned int)); */ void MD5Update (MD5_CTX *, unsigned char *, unsigned int); -//void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); +/* void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); */ void MD5Final (unsigned char [16], MD5_CTX *); #ifdef __cplusplus -- cgit v1.2.1