Mercurial > hg > octave-lojdl
changeset 14061:324b2ec6214d stable
pt-eval.cc: Eliminate unused variable compile warning
* pt-eval.cc (visit_simple_for_command): Eliminate 'bool quit'
variable which is unused and causing compile warning.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 15 Dec 2011 21:25:59 -0800 |
parents | efba69175989 |
children | 5b49cafe0599 |
files | src/pt-eval.cc |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-eval.cc +++ b/src/pt-eval.cc @@ -323,7 +323,6 @@ octave_idx_type steps = rng.nelem (); double b = rng.base (); double increment = rng.inc (); - bool quit = false; for (octave_idx_type i = 0; i < steps; i++) { @@ -363,8 +362,6 @@ // A matrix or cell is reshaped to 2 dimensions and iterated by // columns. - bool quit = false; - dim_vector dv = rhs.dims ().redim (2); octave_idx_type nrows = dv(0), steps = dv(1);