changeset 21788:43f613cca3ab

libinterp/corefcn/__ilu__.cc: avoid compiler warning (bug #48043) [-Wmaybe-uninitialized]
author Robert Jenssen <robertjenssen@ozemail.com.au>
date Sat, 28 May 2016 13:33:37 +0200
parents 7e981549dd9b
children 6afdf40be534
files libinterp/corefcn/__ilu__.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/__ilu__.cc	Fri May 27 21:01:17 2016 -0400
+++ b/libinterp/corefcn/__ilu__.cc	Sat May 28 13:33:37 2016 +0200
@@ -42,7 +42,8 @@
 {
   const octave_idx_type n = sm.cols ();
   octave_idx_type j1, j2, jrow, jw, i, j, k, jj;
-  T tl, r;
+  T r;
+  T tl = 0;
 
   enum {OFF, ROW, COL};
   char opt;