summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
index c0d021f7ba2..a92df07a4c2 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
@@ -216,13 +216,8 @@ int
be_visitor_operation_rettype::visit_string (be_string *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt = this->ctx_->alias ();
- if (bt != 0)
- {
- *os << bt->name ();
- }
- else if (node->width () == (long) sizeof (char))
+ if (node->width () == (long) sizeof (char))
{
*os << "char *";
}