# HG changeset patch # User Rik # Date 1324013159 28800 # Node ID 324b2ec6214da8c0a4cb2a28a1c96864e5e0d1cd # Parent efba69175989a6831f668c1a8a81f72cf83befff 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. diff -r efba69175989 -r 324b2ec6214d src/pt-eval.cc --- a/src/pt-eval.cc Thu Dec 15 17:52:10 2011 -0800 +++ b/src/pt-eval.cc Thu Dec 15 21:25:59 2011 -0800 @@ -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);