# HG changeset patch # User jwe # Date 812109485 0 # Node ID eaf4f68d3757b37bc96d66bb51e3fcbb135059c4 # Parent 232dbc2460c086392141315b8e72b2363364f997 [project @ 1995-09-26 09:58:02 by jwe] diff --git a/src/pt-const.h b/src/pt-const.h --- a/src/pt-const.h +++ b/src/pt-const.h @@ -139,7 +139,7 @@ tree_constant (const Octave_map& m) : tree_fvc () { rep = new tree_constant_rep (m); rep->count = 1; } - tree_constant (tree_constant::magic_colon t) : tree_fvc () + tree_constant (tree_constant::magic_colon) : tree_fvc () { tree_constant_rep::constant_type tmp; tmp = tree_constant_rep::magic_colon; @@ -147,7 +147,7 @@ rep->count = 1; } - tree_constant (tree_constant::all_va_args t) : tree_fvc () + tree_constant (tree_constant::all_va_args) : tree_fvc () { tree_constant_rep::constant_type tmp; tmp = tree_constant_rep::all_va_args; @@ -306,12 +306,12 @@ tree_constant lookup_map_element (SLList& list, int insert = 0, int silent = 0); - ColumnVector vector_value (int force_string_conversion = 0, - int force_vector_conversion = 0) const + ColumnVector vector_value (int /* force_string_conversion */ = 0, + int /* force_vector_conversion */ = 0) const { return rep->vector_value (); } - ComplexColumnVector complex_vector_value (int force_string_conv = 0, - int force_vec_conv = 0) const + ComplexColumnVector complex_vector_value (int /* force_string_conv */ = 0, + int /* force_vec_conv */ = 0) const { return rep->complex_vector_value (); } // Binary and unary operations. @@ -363,7 +363,7 @@ return *this; } - Octave_object eval (int print, int nargout, const Octave_object& args) + Octave_object eval (int print, int /* nargout */, const Octave_object& args) { Octave_object retval; diff --git a/src/pt-exp-base.h b/src/pt-exp-base.h --- a/src/pt-exp-base.h +++ b/src/pt-exp-base.h @@ -232,7 +232,7 @@ Octave_object eval (int print, int nargout, const Octave_object& args); - void print_code (ostream& os) { } + void print_code (ostream&) { } private: Octave_object values; @@ -275,8 +275,8 @@ virtual int is_system_fcn_file (void) const { return 0; } - virtual int save (ostream& os, int mark_as_global = 0, - int precision = 17) + virtual int save (ostream& /* os */, int /* mark_as_global */ = 0, + int /* precision */ = 17) { panic_impossible (); return 0; } };