diff liboctave/array/CMatrix.cc @ 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 0a0912a9ab6e
children 7975d75f933c
line wrap: on
line diff
--- a/liboctave/array/CMatrix.cc	Wed Mar 13 15:40:03 2013 -0400
+++ b/liboctave/array/CMatrix.cc	Wed Mar 13 15:45:05 2013 -0400
@@ -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);