summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-26 19:34:09 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-26 19:34:09 +0000
commit826bc20bf990fe9a1875140218051e0df3a48e23 (patch)
tree424bb1ba66bf439ab6286cd01dd271d1dd20549c
parent6e46fbaf2f220414316734aeedf1413728ad3b52 (diff)
downloadATCD-826bc20bf990fe9a1875140218051e0df3a48e23.tar.gz
Removed unused variable AST_Decl from push(), and the ScopeAsDecl
call that initializes it.
-rw-r--r--TAO/TAO_IDL/util/utl_stack.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/util/utl_stack.cpp b/TAO/TAO_IDL/util/utl_stack.cpp
index 21db27b87cd..11bd091ff2e 100644
--- a/TAO/TAO_IDL/util/utl_stack.cpp
+++ b/TAO/TAO_IDL/util/utl_stack.cpp
@@ -109,13 +109,9 @@ UTL_ScopeStack *
UTL_ScopeStack::push(UTL_Scope *el)
{
UTL_Scope **tmp;
- AST_Decl *d = ScopeAsDecl(el);
long ostack_data_nalloced;
long i;
- // Macro to avoid "warning: unused parameter" type warning.
- ACE_UNUSED_ARG (d);
-
// Make sure there's space for one more
if (pd_stack_data_nalloced == pd_stack_top) {
ostack_data_nalloced = pd_stack_data_nalloced;