Mercurial > hg > octave-nkf
comparison libinterp/octave-value/ov-base-diag.cc @ 18590:bae00174787c
avoid GCC warnings
* pt-funcall.cc (tree_funcall::dup): Delete unused parameter names.
* ov-perm.cc (octave_perm_matrix::save_ascii,
octave_perm_matrix::load_ascii): Delete unused typedef.
* ov-base-diag.cc (octave_base_diag<DMT, MT>::do_index_op): Likewise.
author | Lasse Schuirmann <lasse@schuirmann.net> and Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Mon, 24 Feb 2014 09:07:39 +0100 |
parents | bcd71a2531d3 |
children | 491b0adfec95 |
comparison
equal
deleted
inserted
replaced
18588:932aca9a7c57 | 18590:bae00174787c |
---|---|
98 octave_value | 98 octave_value |
99 octave_base_diag<DMT, MT>::do_index_op (const octave_value_list& idx, | 99 octave_base_diag<DMT, MT>::do_index_op (const octave_value_list& idx, |
100 bool resize_ok) | 100 bool resize_ok) |
101 { | 101 { |
102 octave_value retval; | 102 octave_value retval; |
103 typedef typename DMT::element_type el_type; | |
104 | 103 |
105 if (idx.length () == 2 && ! resize_ok) | 104 if (idx.length () == 2 && ! resize_ok) |
106 { | 105 { |
107 idx_vector idx0 = idx(0).index_vector (); | 106 idx_vector idx0 = idx(0).index_vector (); |
108 idx_vector idx1 = idx(1).index_vector (); | 107 idx_vector idx1 = idx(1).index_vector (); |