summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_interface.cpp
diff options
context:
space:
mode:
authorsergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-26 07:45:26 +0000
committersergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-26 07:45:26 +0000
commit50a1ea4c4d1cb2cd61725b664fda31d479fdc5f4 (patch)
tree8264a82de6ae00e6695a2b1cd11cee4a4dd14843 /TAO/TAO_IDL/be/be_interface.cpp
parent94500638557022dadeaf408d04884b46950ed084 (diff)
downloadATCD-50a1ea4c4d1cb2cd61725b664fda31d479fdc5f4.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL/be/be_interface.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_interface.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp
index dfb62e52e61..a831151686b 100644
--- a/TAO/TAO_IDL/be/be_interface.cpp
+++ b/TAO/TAO_IDL/be/be_interface.cpp
@@ -98,7 +98,7 @@ be_interface::compute_fullskelname (void)
this->full_skel_name_ = new char [namelen+1];
this->full_skel_name_[0] = '\0';
first = I_TRUE;
- second - I_FALSE;
+ second = I_FALSE;
ACE_OS::strcat (this->full_skel_name_, "POA_");
i = new UTL_IdListActiveIterator (this->name ());
while (!(i->is_done ()))
@@ -271,6 +271,8 @@ int be_interface::gen_client_stubs (void)
long i; // loop index
TAO_NL nl; // end line
+ // Macro to avoid "warning: unused parameter" type warning.
+ ACE_UNUSED_ARG (i);
// retrieve a singleton instance of the code generator
TAO_CodeGen *cg = TAO_CODEGEN::instance ();
@@ -467,6 +469,9 @@ int be_interface::gen_server_skeletons (void)
TAO_NL nl; // end line
AST_Decl *d; // temporary
+ // Macro to avoid "warning: unused parameter" type warning.
+ ACE_UNUSED_ARG (i);
+
// retrieve a singleton instance of the code generator
TAO_CodeGen *cg = TAO_CODEGEN::instance ();
cg->push (TAO_CodeGen::TAO_INTERFACE_SS); // set the current code generation
@@ -596,6 +601,9 @@ be_interface::gen_operation_table (void)
long i; // loop index
TAO_NL nl; // end line
+ // Macro to avoid "warning: unused parameter" type warning.
+ ACE_UNUSED_ARG (i);
+
// retrieve a singleton instance of the code generator
TAO_CodeGen *cg = TAO_CODEGEN::instance ();
@@ -703,6 +711,9 @@ be_interface::gen_server_inline (void)
long i; // loop index
TAO_NL nl; // end line
+ // Macro to avoid "warning: unused parameter" type warning.
+ ACE_UNUSED_ARG (i);
+
// retrieve a singleton instance of the code generator
TAO_CodeGen *cg = TAO_CODEGEN::instance ();
@@ -1089,6 +1100,9 @@ be_interface::tc_encap_len (void)
{
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 (); // for repoID