summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 11:15:25 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 11:15:25 +0000
commit77ce1a1be25a08cd9dde67c08a5caa5c89d3090f (patch)
treefd6ff845799af234638900465f753aa9781582ee /TAO/TAO_IDL/be
parent99f1e7f7ba9ee9582c48d8d2ef048d80c8c1c9fd (diff)
downloadATCD-77ce1a1be25a08cd9dde67c08a5caa5c89d3090f.tar.gz
ChangeLogTag:Thu May 17 04:13:54 2001 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'TAO/TAO_IDL/be')
-rw-r--r--TAO/TAO_IDL/be/be_interface_strategy.cpp6
-rw-r--r--TAO/TAO_IDL/be/be_operation_strategy.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp16
3 files changed, 12 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/be/be_interface_strategy.cpp b/TAO/TAO_IDL/be/be_interface_strategy.cpp
index 1d97878bbd2..e27cf0ad6ad 100644
--- a/TAO/TAO_IDL/be/be_interface_strategy.cpp
+++ b/TAO/TAO_IDL/be/be_interface_strategy.cpp
@@ -984,14 +984,14 @@ be_interface_amh_strategy::next_state (TAO_CodeGen::CG_STATE current_state,
{
case TAO_CodeGen::TAO_INTERFACE_SS:
return TAO_CodeGen::TAO_INTERFACE_AMH_SS;
+ default:
+ return current_state;
};
-
- return current_state;
}
int
-be_interface_amh_strategy::has_extra_code_generation (TAO_CodeGen::CG_STATE current_state)
+be_interface_amh_strategy::has_extra_code_generation (TAO_CodeGen::CG_STATE)
{
return 0;
}
diff --git a/TAO/TAO_IDL/be/be_operation_strategy.cpp b/TAO/TAO_IDL/be/be_operation_strategy.cpp
index 72eca7923dc..b71035dc07c 100644
--- a/TAO/TAO_IDL/be/be_operation_strategy.cpp
+++ b/TAO/TAO_IDL/be/be_operation_strategy.cpp
@@ -295,7 +295,7 @@ be_operation_amh_strategy::next_state (
int
be_operation_amh_strategy::has_extra_code_generation (
- TAO_CodeGen::CG_STATE current_state
+ TAO_CodeGen::CG_STATE
)
{
return 0;
diff --git a/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp b/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp
index 7aa93d90786..f4ecc4d1593 100644
--- a/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp
@@ -384,7 +384,7 @@ be_visitor_amh_pre_proc::create_amh_class (be_interface *node)
UTL_ScopedName *amh_class_name = ACE_static_cast (UTL_ScopedName *, node->name ()->copy ());
amh_class_name->last_component ()->replace_string (amh_class_local_name.rep ());
- AST_Interface_ptr *p_intf = new AST_Interface_ptr[1];
+// AST_Interface_ptr *p_intf = new AST_Interface_ptr[1];
be_interface *amh_class =
new be_interface (amh_class_name, // name
@@ -493,11 +493,11 @@ be_visitor_amh_pre_proc::create_amh_operation (be_operation *node,
return 0;
// Create the return type, which is "void"
- be_predefined_type *rt = new be_predefined_type (AST_PredefinedType::PT_void,
- new UTL_ScopedName
- (new Identifier ("void", 1, 0, I_FALSE),
- 0),
- 0);
+// be_predefined_type *rt = new be_predefined_type (AST_PredefinedType::PT_void,
+// new UTL_ScopedName
+// (new Identifier ("void", 1, 0, I_FALSE),
+// 0),
+// 0);
ACE_CString original_op_name (node
->name ()
@@ -612,7 +612,7 @@ be_visitor_amh_pre_proc::create_amh_operation (be_operation *node,
be_interface *
be_visitor_amh_pre_proc::create_response_handler (be_interface *node,
- be_valuetype *excep_holder)
+ be_valuetype * /*excep_holder*/)
{
// Create a virtual module named "Messaging" and an interface "responseHandler"
// from which we inherit.
@@ -721,8 +721,8 @@ be_visitor_amh_pre_proc::create_response_handler (be_interface *node,
}
else
{
- be_operation* operation = be_operation::narrow_from_decl (d);
/*
+ be_operation* operation = be_operation::narrow_from_decl (d);
if (operation)
{
this->create_response_handler_operation (operation,