Mercurial > hg > octave-nkf
changeset 19533:16cdbe882ff5
build: Fix unused variable warnings when building with --without-qrupdate.
* CmplxQR.cc (delete_col, shift_cols): Remove unused variable m (# of rows).
* CmplxQR.cc (delete_row): Remove unused variable n (# of cols).
* dbleQR.cc (delete_col, shift_cols): Remove unused variable m (# of rows).
* dbleQR.cc (delete_row): Remove unused variable n (# of cols).
* fCmplxQR.cc (delete_col, shift_cols): Remove unused variable m (# of rows).
* fCmplxQR.cc (delete_row): Remove unused variable n (# of cols).
* floatQR.cc (delete_col, shift_cols): Remove unused variable m (# of rows).
* floatQR.cc (delete_row): Remove unused variable n (# of cols).
author | Rik <rik@octave.org> |
---|---|
date | Fri, 21 Nov 2014 09:49:35 -0800 |
parents | d47e50953abc |
children | 3a2a0b72b91b |
files | liboctave/numeric/CmplxQR.cc liboctave/numeric/dbleQR.cc liboctave/numeric/fCmplxQR.cc liboctave/numeric/floatQR.cc |
diffstat | 4 files changed, 0 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/numeric/CmplxQR.cc +++ b/liboctave/numeric/CmplxQR.cc @@ -618,7 +618,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (j < 0 || j > n-1) @@ -634,7 +633,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); Array<octave_idx_type> jsi; @@ -681,7 +679,6 @@ warn_qrupdate_once (); octave_idx_type m = r.rows (); - octave_idx_type n = r.columns (); if (! q.is_square ()) (*current_liboctave_error_handler) ("qrdelete: dimensions mismatch"); @@ -698,7 +695,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (i < 0 || i > n-1 || j < 0 || j > n-1)
--- a/liboctave/numeric/dbleQR.cc +++ b/liboctave/numeric/dbleQR.cc @@ -613,7 +613,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (j < 0 || j > n-1) @@ -629,7 +628,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); Array<octave_idx_type> jsi; @@ -674,7 +672,6 @@ QR::delete_row (octave_idx_type j) { octave_idx_type m = r.rows (); - octave_idx_type n = r.columns (); if (! q.is_square ()) (*current_liboctave_error_handler) ("qrdelete: dimensions mismatch"); @@ -691,7 +688,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (i < 0 || i > n-1 || j < 0 || j > n-1)
--- a/liboctave/numeric/fCmplxQR.cc +++ b/liboctave/numeric/fCmplxQR.cc @@ -628,7 +628,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (j < 0 || j > n-1) @@ -644,7 +643,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); Array<octave_idx_type> jsi; @@ -691,7 +689,6 @@ warn_qrupdate_once (); octave_idx_type m = r.rows (); - octave_idx_type n = r.columns (); if (! q.is_square ()) (*current_liboctave_error_handler) ("qrdelete: dimensions mismatch"); @@ -708,7 +705,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (i < 0 || i > n-1 || j < 0 || j > n-1)
--- a/liboctave/numeric/floatQR.cc +++ b/liboctave/numeric/floatQR.cc @@ -611,7 +611,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (j < 0 || j > n-1) @@ -627,7 +626,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); Array<octave_idx_type> jsi; @@ -674,7 +672,6 @@ warn_qrupdate_once (); octave_idx_type m = r.rows (); - octave_idx_type n = r.columns (); if (! q.is_square ()) (*current_liboctave_error_handler) ("qrdelete: dimensions mismatch"); @@ -691,7 +688,6 @@ { warn_qrupdate_once (); - octave_idx_type m = q.rows (); octave_idx_type n = r.columns (); if (i < 0 || i > n-1 || j < 0 || j > n-1)