diff src/debug.cc @ 7897:322a066543ac

avoid shadow warning
author John W. Eaton <jwe@octave.org>
date Wed, 25 Jun 2008 08:05:33 -0400
parents 73ef513855e7
children 3e4c9b69069d
line wrap: on
line diff
--- a/src/debug.cc	Wed Jun 25 12:46:32 2008 +0200
+++ b/src/debug.cc	Wed Jun 25 08:05:33 2008 -0400
@@ -757,9 +757,9 @@
 
       if (nargout == 0)
 	{
-	  octave_idx_type nframes = stk.numel ();
+	  octave_idx_type nframes_to_display = stk.numel ();
 
-	  if (nframes > 0)
+	  if (nframes_to_display > 0)
 	    {
 	      octave_stdout << "Stopped in:\n\n";
 
@@ -767,7 +767,7 @@
 	      Cell lines = stk.contents ("line");
 	      Cell columns = stk.contents ("column");
 
-	      for (octave_idx_type i = 0; i < nframes; i++)
+	      for (octave_idx_type i = 0; i < nframes_to_display; i++)
 		{
 		  octave_value name = names(i);
 		  octave_value line = lines(i);