Mercurial > octave-libgccjit
diff liboctave/dMatrix.cc @ 8806:c7864bb74914
avoid some GCC warnings
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Feb 2009 13:45:20 -0500 |
parents | f3ff420fccf7 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/liboctave/dMatrix.cc Wed Feb 18 13:05:04 2009 -0500 +++ b/liboctave/dMatrix.cc Wed Feb 18 13:45:20 2009 -0500 @@ -1239,7 +1239,7 @@ (*current_liboctave_error_handler) ("matrix must be square"); else { - int typ = mattype.type (); + volatile int typ = mattype.type (); if (typ == MatrixType::Unknown) typ = mattype.type (*this);