Mercurial > jwe > octave
diff liboctave/array/PermMatrix.cc @ 21129:228b65504557
maint: Eliminate useless statements after err_XXX.
* Cell.cc, data.cc, eig.cc, hess.cc, oct-hist.cc, oct-stream.cc, rand.cc,
audioread.cc, ov-base.cc, ov-class.cc, ov.cc, op-int.h, ops.h, CColVector.cc,
CDiagMatrix.cc, CMatrix.cc, CRowVector.cc, DiagArray2.cc, MDiagArray2.cc,
PermMatrix.cc, dMatrix.cc, fCColVector.cc, fCDiagMatrix.cc, fCMatrix.cc,
fCRowVector.cc, fMatrix.cc, idx-vector.cc, CmplxGEPBAL.cc, dbleGEPBAL.cc,
fCmplxGEPBAL.cc, floatGEPBAL.cc, Sparse-diag-op-defs.h, Sparse-op-defs.h,
Sparse-perm-op-defs.h, mx-inlines.cc, mx-op-defs.h:
maint: Eliminate useless statements after err_XXX.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 21 Jan 2016 12:54:17 -0800 |
parents | 499b851fbfae |
children | 7cac4e7458f2 |
line wrap: on
line diff
--- a/liboctave/array/PermMatrix.cc Thu Jan 21 13:03:27 2016 -0500 +++ b/liboctave/array/PermMatrix.cc Thu Jan 21 12:54:17 2016 -0800 @@ -43,10 +43,7 @@ if (check) { if (! idx_vector (p).is_permutation (p.numel ())) - { - err_invalid_permutation (); - Array<octave_idx_type>::operator = (Array<octave_idx_type> ()); - } + err_invalid_permutation (); } if (! colp)