diff liboctave/Sparse.cc @ 8677:095ae5e0a831

eliminte some compiler warnings
author John W. Eaton <jwe@octave.org>
date Thu, 05 Feb 2009 02:42:58 -0500
parents 6b074f37e8d7
children 06b9903a029b
line wrap: on
line diff
--- a/liboctave/Sparse.cc	Thu Feb 05 01:19:29 2009 -0500
+++ b/liboctave/Sparse.cc	Thu Feb 05 02:42:58 2009 -0500
@@ -3224,7 +3224,8 @@
 	{
 	  octave_idx_type lhs_len = lhs.length ();
 
-	  octave_idx_type n = idx_i.freeze (lhs_len, 0, true);
+	  // Called for side-effects on idx_i.
+	  idx_i.freeze (lhs_len, 0, true);
 
 	  if (idx_i)
             {