changeset 21174:a223cce1daa4

strip trailing space from source files we maintain * gl2ps-renderer.cc, gl2ps-renderer.h, pt-eval.cc CmplxCHOL.cc, sparse-lu.h, datetick.m, index.tst: Strip trailing whitespace.
author John W. Eaton <jwe@octave.org>
date Mon, 01 Feb 2016 08:53:01 -0500
parents 1edaf1ee65eb
children f45f4f888db5
files configure.ac libinterp/corefcn/gl2ps-renderer.cc libinterp/corefcn/gl2ps-renderer.h libinterp/parse-tree/pt-eval.cc liboctave/numeric/CmplxCHOL.cc liboctave/numeric/sparse-lu.h scripts/plot/appearance/datetick.m test/index.tst
diffstat 8 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Feb 01 21:16:19 2016 -0800
+++ b/configure.ac	Mon Feb 01 08:53:01 2016 -0500
@@ -1586,14 +1586,14 @@
   [cs${CXSPARSE_TAG}sqr],
   [C++], [don't use CXSparse library, disable some sparse matrix functionality])
 
-## Additional check for CXSparse version >= 2.2 
+## Additional check for CXSparse version >= 2.2
 if test $octave_cv_lib_cxsparse = yes; then
   OCTAVE_CHECK_CXSPARSE_VERSION_OK
   if test $octave_cv_cxsparse_version_ok = no; then
     AC_MSG_ERROR([CXSparse library is too old (< version 2.2).  Upgrade CXSparse (SuiteSparse) or configure Octave with --disable-cxsparse"])
   fi
 fi
-  
+
 ### Check for UMFPACK library.
 
 save_LIBS="$LIBS"
--- a/libinterp/corefcn/gl2ps-renderer.cc	Mon Feb 01 21:16:19 2016 -0800
+++ b/libinterp/corefcn/gl2ps-renderer.cc	Mon Feb 01 08:53:01 2016 -0500
@@ -146,7 +146,7 @@
             old_print_cmd = print_cmd;
 
           // Don't check return value of gl2psEndPage, it is not meaningful.
-          // Errors and warnings are checked after gl2psEndViewport in 
+          // Errors and warnings are checked after gl2psEndViewport in
           // gl2ps_renderer::draw_axes instead.
           gl2psEndPage ();
         }
--- a/libinterp/corefcn/gl2ps-renderer.h	Mon Feb 01 21:16:19 2016 -0800
+++ b/libinterp/corefcn/gl2ps-renderer.h	Mon Feb 01 08:53:01 2016 -0500
@@ -69,7 +69,7 @@
       warning ("gl2ps_renderer::draw_axes: empty feedback buffer and/or nothing else to print");
     else if (state == GL2PS_ERROR)
       error ("gl2ps_renderer::draw_axes: gl2psEndPage returned GL2PS_ERROR");
-    
+
     buffer_overflow |= (state == GL2PS_OVERFLOW);
   }
 
--- a/libinterp/parse-tree/pt-eval.cc	Mon Feb 01 21:16:19 2016 -0800
+++ b/libinterp/parse-tree/pt-eval.cc	Mon Feb 01 08:53:01 2016 -0500
@@ -731,7 +731,7 @@
 void
 tree_evaluator::visit_statement_list (tree_statement_list& lst)
 {
-  // FIXME: commented out along with else clause below. 
+  // FIXME: commented out along with else clause below.
   // static octave_value_list empty_list;
 
   tree_statement_list::iterator p = lst.begin ();
--- a/liboctave/numeric/CmplxCHOL.cc	Mon Feb 01 21:16:19 2016 -0800
+++ b/liboctave/numeric/CmplxCHOL.cc	Mon Feb 01 08:53:01 2016 -0500
@@ -369,7 +369,7 @@
     (*current_liboctave_error_handler) ("cholinsert: dimension mismatch");
   if (j < 0 || j > n)
     (*current_liboctave_error_handler) ("cholinsert: index out of range");
-  
+
   if (singular (chol_mat))
     info = 2;
   else if (u(j).imag () != 0.0)
--- a/liboctave/numeric/sparse-lu.h	Mon Feb 01 21:16:19 2016 -0800
+++ b/liboctave/numeric/sparse-lu.h	Mon Feb 01 08:53:01 2016 -0500
@@ -35,7 +35,7 @@
 public:
 
   typedef typename lu_type::element_type lu_elt_type;
-  
+
   sparse_lu (void)
     : Lfact (), Ufact (), Rfact (), cond (0), P (), Q () { }
 
--- a/scripts/plot/appearance/datetick.m	Mon Feb 01 21:16:19 2016 -0800
+++ b/scripts/plot/appearance/datetick.m	Mon Feb 01 08:53:01 2016 -0500
@@ -147,7 +147,7 @@
     if (keeplimits)
       limits = get (gca (), [ax "lim"]);
       xmin = limits(1);
-      xmax = limits(2);  
+      xmax = limits(2);
     else
       objs = findall (gca ());
       xmin = xmax = NaN;
--- a/test/index.tst	Mon Feb 01 21:16:19 2016 -0800
+++ b/test/index.tst	Mon Feb 01 08:53:01 2016 -0500
@@ -576,12 +576,12 @@
 %!error <abc\(1\+0.5i,_\): subscripts must be real> abc(1+0.5*i,3)
 %!error <abc\(_,0-2i\): subscripts must be real>   abc(2,0-2*i)
 
-## bug #35841 
+## bug #35841
 %!test
 %! a(1,1,1).b(1) = 2;
 %! a(1,1,1).b(1) = 3;
 
-## bug #39789 
+## bug #39789
 %!test
 %! c = cell(1,1,1);
 %! c{1,1,1} = zeros(5, 2);