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 diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
+++ b/src/pr-output.cc
@@ -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 ();