From 826bc20bf990fe9a1875140218051e0df3a48e23 Mon Sep 17 00:00:00 2001 From: parsons Date: Sun, 26 Mar 2000 19:34:09 +0000 Subject: Removed unused variable AST_Decl from push(), and the ScopeAsDecl call that initializes it. --- TAO/TAO_IDL/util/utl_stack.cpp | 4 ---- 1 file changed, 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; -- cgit v1.2.1