Mercurial > octave-dspies
comparison libinterp/corefcn/profiler.cc @ 18930: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 | b45d975aa38f |
children |
comparison
equal
deleted
inserted
replaced
18929:3d25cd89fec0 | 18930:f1edad3b4106 |
---|---|
104 ++retval->calls; | 104 ++retval->calls; |
105 return retval; | 105 return retval; |
106 } | 106 } |
107 | 107 |
108 profile_data_accumulator::tree_node* | 108 profile_data_accumulator::tree_node* |
109 profile_data_accumulator::tree_node::exit (octave_idx_type fcn) | 109 profile_data_accumulator::tree_node::exit (octave_idx_type /* fcn */) |
110 { | 110 { |
111 // FIXME: These assert statements don't make sense if profile() is called | 111 // FIXME: These assert statements don't make sense if profile() is called |
112 // from within a function hierarchy to begin with. See bug #39587. | 112 // from within a function hierarchy to begin with. See bug #39587. |
113 // assert (parent); | 113 // assert (parent); |
114 // assert (fcn_id == fcn); | 114 // assert (fcn_id == fcn); |