summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_enum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_enum.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_enum.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/TAO/TAO_IDL/be/be_enum.cpp b/TAO/TAO_IDL/be/be_enum.cpp
index a6d8b6ae843..ae430917c03 100644
--- a/TAO/TAO_IDL/be/be_enum.cpp
+++ b/TAO/TAO_IDL/be/be_enum.cpp
@@ -253,8 +253,6 @@ be_enum::gen_encapsulation (void)
cs = cg->outstream ();
cs->indent (); // start from whatever indentation level we were at
- // XXXASG - byte order must be based on what m/c we are generating code -
- // TODO
*cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl;
// generate repoID
*cs << (ACE_OS::strlen (this->repoID ())+1) << ", ";
@@ -300,11 +298,6 @@ be_enum::tc_encap_len (void)
{
if (this->encap_len_ == -1) // not computed yet
{
- long slen;
-
- // Macro to avoid "warning: unused parameter" type warning.
- ACE_UNUSED_ARG (slen);
-
this->encap_len_ = 4; // holds the byte order flag
this->encap_len_ += this->repoID_encap_len (); // repoID storage