changeset 8930:dd11de67a3f9

pr-output.cc: avoid unused variable warning
author John W. Eaton <jwe@octave.org>
date Sat, 07 Mar 2009 15:12:25 -0500
parents 379297a149f0
children 92dd386f0f13
files src/ChangeLog src/pr-output.cc
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Mar 07 14:41:42 2009 -0500
+++ b/src/ChangeLog	Sat Mar 07 15:12:25 2009 -0500
@@ -1,5 +1,8 @@
 2009-03-07  John W. Eaton  <jwe@octave.org>
 
+	* pr-output.cc (octave_print_internal (std::ostream&,
+	const PermMatrix&, bool, int)): Delete unused variable SCALE.
+
 	* utils.cc (octave_vsnprintf): Avoid uninitialized variable
 	warning from GCC.
 
--- a/src/pr-output.cc	Sat Mar 07 14:41:42 2009 -0500
+++ b/src/pr-output.cc	Sat Mar 07 15:12:25 2009 -0500
@@ -2266,7 +2266,6 @@
   else
     {
       int fw = 2;
-      double scale = 1.0;
       int column_width = fw + 2;
       octave_idx_type total_width = nc * column_width;
       octave_idx_type max_width = command_editor::terminal_cols ();