From 50c22a35b1c3ec4a6d18ea2171ce92bb0fdb99d9 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 24 Jul 2003 18:33:50 +0000 Subject: * gcc -Wall clean-up. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/debug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/debug.rb b/lib/debug.rb index 17879e514..74026233c 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -703,7 +703,7 @@ EOHELP frame_set_pos(file, line) if !@no_step or @frames.size == @no_step @stop_next -= 1 - @stop_next = 0 if @stop_next < 0 + @stop_next = -1 if @stop_next < 0 elsif @frames.size < @no_step @stop_next = 0 # break here before leaving... else -- cgit