changeset 22137:37f41acc2c39

avoid GCC warning about longjmp possibly clobbering variable * qz.cc (Fqz): Declare nargin volatile.
author John W. Eaton <jwe@octave.org>
date Mon, 18 Jul 2016 11:22:12 -0400
parents 9c3ace79cc3b
children 3459c25b679a
files libinterp/corefcn/qz.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/qz.cc	Mon Jul 18 11:18:47 2016 -0400
+++ b/libinterp/corefcn/qz.cc	Mon Jul 18 11:22:12 2016 -0400
@@ -371,7 +371,7 @@
 @seealso{eig, balance, lu, chol, hess, qr, qzhess, schur, svd}
 @end deftypefn */)
 {
-  int nargin = args.length ();
+  volatile int nargin = args.length ();
 
 #if defined (DEBUG)
   std::cout << "qz: nargin = " << nargin