diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-08-03 14:15:44 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-08-03 14:15:44 +0000 |
commit | c992742e4285facd623199856da204f0a09a5abe (patch) | |
tree | 7d6008db864b9990f763d30b06bb537b081c378d | |
parent | c6f4176eae5f4f35db660328669c4230485b987a (diff) | |
download | ATCD-c992742e4285facd623199856da204f0a09a5abe.tar.gz |
ChangeLogTag: Sat Aug 3 09:15:03 2002 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLog | 5 | ||||
-rw-r--r-- | TAO/orbsvcs/PSS/PSDL_Node_Visitor.cpp | 20 |
2 files changed, 12 insertions, 13 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index d2f3abd465d..a3da6a1fb44 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,8 @@ +Sat Aug 3 09:15:03 2002 Balachandran Natarajan <bala@cs.wustl.edu> + + * orbsvcs/PSS/PSDL_Node_Visitor.cpp (visit_export_dcl): Fixed + unreachable statement warnings with TRU 64 builds. + Sat Aug 3 09:08:56 2002 Balachandran Natarajan <bala@cs.wustl.edu> * examples/AMH/Sink_Server/client.cpp: Fixed warnings from diff --git a/TAO/orbsvcs/PSS/PSDL_Node_Visitor.cpp b/TAO/orbsvcs/PSS/PSDL_Node_Visitor.cpp index 37684fc2c22..203723d0579 100644 --- a/TAO/orbsvcs/PSS/PSDL_Node_Visitor.cpp +++ b/TAO/orbsvcs/PSS/PSDL_Node_Visitor.cpp @@ -417,8 +417,6 @@ TAO_PSDL_Node_Visitor::visit_except_dcl (TAO_PSDL_Except_Dcl *except_dcl) if (this->node_visitor_ != 0) return this->node_visitor_->visit_except_dcl (except_dcl); - else - return -1; /* if (except_dcl->identifier ()->accept (this) == -1) @@ -430,7 +428,7 @@ TAO_PSDL_Node_Visitor::visit_except_dcl (TAO_PSDL_Except_Dcl *except_dcl) return -1; } */ - return 0; + return -1; } int @@ -511,9 +509,8 @@ TAO_PSDL_Node_Visitor::visit_forward_dcl (TAO_PSDL_Forward_Dcl *forward_dcl) if (this->node_visitor_ != 0) return this->node_visitor_->visit_forward_dcl (forward_dcl); - else - return -1; - return 0; + + return -1; } int @@ -615,14 +612,11 @@ TAO_PSDL_Node_Visitor::base_type (const ACE_CString &identifier, return 1; } } - else - { - // identifier_name is a predefined type like char *. - identifier_type = identifier_name; - return 1; - } - return 0; + // identifier_name is a predefined type like char *. + identifier_type = identifier_name; + + return 1; } ACE_CString |