# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1336353295 14400 # Node ID de72463862c458d99f13d63dd484412b1c5f634f # Parent 0d37fda09415e85de4a2726727f5937e02075300 Silence warnings * graphics.cc (root_figure::properties::get_boundingbox): Remove unused variable. * symtab.cc (symbol_table::install_nestfunction): Rename clashing variable that shadows member. diff -r 0d37fda09415 -r de72463862c4 src/graphics.cc --- a/src/graphics.cc Thu May 03 18:34:39 2012 -0400 +++ b/src/graphics.cc Sun May 06 21:14:55 2012 -0400 @@ -3044,7 +3044,7 @@ } Matrix -root_figure::properties::get_boundingbox (bool internal, const Matrix&) const +root_figure::properties::get_boundingbox (bool, const Matrix&) const { Matrix screen_size = screen_size_pixels (); Matrix pos = Matrix (1, 4, 0); diff -r 0d37fda09415 -r de72463862c4 src/symtab.cc --- 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