diff liboctave/numeric/dbleQR.cc @ 21191:8e317ce26a24

unconditionally define warn_qrupdate_once * base-qr.h (warn_qrupdate_once): Declare unconditionally. * dbleQR.cc (warn_qrupdate_once): Define unconditionally.
author John W. Eaton <jwe@octave.org>
date Thu, 04 Feb 2016 03:04:07 -0500
parents 7cac4e7458f2
children f7121e111991
line wrap: on
line diff
--- a/liboctave/numeric/dbleQR.cc	Thu Feb 04 02:24:51 2016 -0500
+++ b/liboctave/numeric/dbleQR.cc	Thu Feb 04 03:04:07 2016 -0500
@@ -674,9 +674,13 @@
   init (::shift_cols (q*r, i, j), get_type ());
 }
 
-void warn_qrupdate_once (void)
+#endif
+
+void
+warn_qrupdate_once (void)
 {
   static bool warned = false;
+
   if (! warned)
     {
       (*current_liboctave_warning_with_id_handler)
@@ -689,5 +693,3 @@
       warned = true;
     }
 }
-
-#endif