diff options
author | sergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-26 08:29:59 +0000 |
---|---|---|
committer | sergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-26 08:29:59 +0000 |
commit | 436cd91c968d02ee2f4e2fdf5a735141028ac2b0 (patch) | |
tree | 1291a681ba0e0f44afee3a9b285d36c7597296e8 /TAO/TAO_IDL/be/be_operation.cpp | |
parent | a8a05d2efc94329084de1832912b0992a3bf0e56 (diff) | |
download | ATCD-436cd91c968d02ee2f4e2fdf5a735141028ac2b0.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL/be/be_operation.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_operation.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_operation.cpp b/TAO/TAO_IDL/be/be_operation.cpp index 347ac5482c4..ca6b2c09235 100644 --- a/TAO/TAO_IDL/be/be_operation.cpp +++ b/TAO/TAO_IDL/be/be_operation.cpp @@ -52,6 +52,9 @@ be_operation::gen_client_header (void) be_type *bt; // type node be_state *s; // state based code gen object + // Macro to avoid "warning: unused parameter" type warning. + ACE_UNUSED_ARG (nl); + // retrieve a singleton instance of the code generator TAO_CodeGen *cg = TAO_CODEGEN::instance (); cg->push (TAO_CodeGen::TAO_OPERATION_CH); // we are now generating an operation @@ -334,6 +337,12 @@ be_operation::gen_server_header (void) be_argument *bd; // argument node be_state *s; // state based code generator object + // Macro to avoid "warning: unused parameter" type warning. + ACE_UNUSED_ARG (nl); + ACE_UNUSED_ARG (si); + ACE_UNUSED_ARG (d); + ACE_UNUSED_ARG (bd); + // retrieve a singleton instance of the code generator TAO_CodeGen *cg = TAO_CODEGEN::instance (); cg->push (TAO_CodeGen::TAO_OPERATION_SH); // we are now generating an operation @@ -395,7 +404,7 @@ be_operation::gen_server_skeletons (void) be_type *rt; // type node for the return type UTL_ScopeActiveIterator *si; // scope iterator AST_Decl *d; // temp node - be_argument *bd; // argument node + be_argument *bd = 0; // argument node be_state *s; // state based code gen object be_predefined_type *bpd=0; // predefined return type be_interface *intf; // enclosing interface node |