changeset 8803:35ea4f816bc9

ov-flt-cx-mat.cc, ov-cx-mat.cc: comment out unused static function
author John W. Eaton <jwe@octave.org>
date Wed, 18 Feb 2009 11:27:47 -0500
parents 061780d8da1e
children 995f8b064b32
files src/ChangeLog src/ov-cx-mat.cc src/ov-flt-cx-mat.cc
diffstat 3 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
 2009-02-18  John W. Eaton  <jwe@octave.org>
 
+	* ov-cx-mat.cc (xabs): Comment out unused static function.
+	* ov-flt-cx-mat.cc (xabs): Ditto.
+
 	* c-file-ptr-stream.cc (c_file_ptr_buf::seekoff,
 	c_file_ptr_buf::seepos, c_zfile_ptr_buf::seekoff,
 	c_zfile_ptr_buf::seepos): Avoid unused paramter warnings.
--- a/src/ov-cx-mat.cc
+++ b/src/ov-cx-mat.cc
@@ -724,11 +724,13 @@
   return retval;
 }
 
+#if 0
 static double
 xabs (const Complex& x)
 {
   return (xisinf (x.real ()) || xisinf (x.imag ())) ? octave_Inf : abs (x);
 }
+#endif
 
 static double
 ximag (const Complex& x)
--- a/src/ov-flt-cx-mat.cc
+++ b/src/ov-flt-cx-mat.cc
@@ -691,11 +691,13 @@
   return retval;
 }
 
+#if 0
 static float
 xabs (const FloatComplex& x)
 {
   return (xisinf (x.real ()) || xisinf (x.imag ())) ? octave_Inf : abs (x);
 }
+#endif
 
 static float
 ximag (const FloatComplex& x)