Mercurial > hg > octave-nkf
changeset 13218:01b7a60e2ff0
fix warnings for unused but set variables
* oct-sort.cc (octave_sort<T>::merge_hi): Delete unused variable ibasea.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 25 Sep 2011 15:06:10 -0400 |
parents | 08ba694723f5 |
children | cf5ebc0e47e4 |
files | liboctave/oct-sort.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/oct-sort.cc +++ b/liboctave/oct-sort.cc @@ -1003,7 +1003,7 @@ octave_idx_type *idest; int result = -1; /* guilty until proved innocent */ T *basea, *baseb; - octave_idx_type *ibasea, *ibaseb; + octave_idx_type *ibaseb; octave_idx_type min_gallop = ms->min_gallop; ms->getmemi (nb); @@ -1012,7 +1012,7 @@ idest = ipb + nb - 1; std::copy (pb, pb + nb, ms->a); std::copy (ipb, ipb + nb, ms->ia); - basea = pa; ibasea = ipa; + basea = pa; baseb = ms->a; ibaseb = ms->ia; pb = ms->a + nb - 1; ipb = ms->ia + nb - 1; pa += na - 1; ipa += na - 1;