diff src/symtab.cc @ 14604:de72463862c4

Silence warnings * graphics.cc (root_figure::properties::get_boundingbox): Remove unused variable. * symtab.cc (symbol_table::install_nestfunction): Rename clashing variable that shadows member.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Sun, 06 May 2012 21:14:55 -0400
parents be18c9e359bf
children 460a3c6d8bf1
line wrap: on
line diff
--- a/src/symtab.cc	Thu May 03 18:34:39 2012 -0400
+++ b/src/symtab.cc	Sun May 06 21:14:55 2012 -0400
@@ -1143,11 +1143,11 @@
   // Stash the nest_parent for resolving variables after parsing is done.
   octave_function *fv = fcn.function_value();
 
-  symbol_table *fcn_table = get_instance (fv->scope());
+  symbol_table *fcn_table_loc = get_instance (fv->scope());
 
   symbol_table *parent_table = get_instance (parent_scope);
 
-  parent_table->add_nest_child (*fcn_table);
+  parent_table->add_nest_child (*fcn_table_loc);
 }
 
 octave_value