Mercurial > hg > octave-nkf
changeset 16300:23c5f90f92cd
eliminate some variable might be clobbered by 'longjmp' or 'vfork' warnings
* Matrix.cc (Matrix::rcond): Declare typ volatile.
* CMatrix.cc (ComplexMatrix::rcond): Likewise.
* fMatrix.cc (FloatMatrix::rcond): Likewise.
* fCMatrix.cc (FloatComplexMatrix::rcond): Likewise.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 13 Mar 2013 15:45:05 -0400 |
parents | c40a8873c2e7 |
children | d39342a19fb8 |
files | liboctave/array/CMatrix.cc liboctave/array/dMatrix.cc liboctave/array/fCMatrix.cc liboctave/array/fMatrix.cc |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/array/CMatrix.cc +++ b/liboctave/array/CMatrix.cc @@ -1721,7 +1721,7 @@ rcon = octave_Inf; else { - int typ = mattype.type (); + volatile int typ = mattype.type (); if (typ == MatrixType::Unknown) typ = mattype.type (*this);
--- a/liboctave/array/dMatrix.cc +++ b/liboctave/array/dMatrix.cc @@ -1389,7 +1389,7 @@ rcon = octave_Inf; else { - int typ = mattype.type (); + volatile int typ = mattype.type (); if (typ == MatrixType::Unknown) typ = mattype.type (*this);