Mercurial > hg > octave-jordi
changeset 18929:f1edad3b4106
avoid some unused parameter warnings
* octave-dock-widget.cc: Avoid unused parameter warning.
* profiler.cc: Avoid unused parameter warning.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 17 Jul 2014 09:33:27 -0400 |
parents | 3d25cd89fec0 |
children | dbb207d10d7c |
files | libgui/src/octave-dock-widget.cc libinterp/corefcn/profiler.cc |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.cc +++ b/libgui/src/octave-dock-widget.cc @@ -198,7 +198,11 @@ // dock the widget void +#if defined (Q_OS_WIN32) octave_dock_widget::make_widget (bool dock) +#else +octave_dock_widget::make_widget (bool) +#endif { #if defined (Q_OS_WIN32)
--- a/libinterp/corefcn/profiler.cc +++ b/libinterp/corefcn/profiler.cc @@ -106,7 +106,7 @@ } profile_data_accumulator::tree_node* -profile_data_accumulator::tree_node::exit (octave_idx_type fcn) +profile_data_accumulator::tree_node::exit (octave_idx_type /* fcn */) { // FIXME: These assert statements don't make sense if profile() is called // from within a function hierarchy to begin with. See bug #39587.