# 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 --git a/src/graphics.cc b/src/graphics.cc --- a/src/graphics.cc +++ b/src/graphics.cc @@ -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 --git a/src/symtab.cc b/src/symtab.cc --- a/src/symtab.cc +++ b/src/symtab.cc @@ -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