unreachable code
#3

a 'return' breaks the code immediatly, so your code will never reach the last return 1;. But the last one also isn't needed so you can remove it. But you also don't need to 2 returns in the 'if' if you have the one at the end
Reply


Messages In This Thread
unreachable code - by Typhome - 15.08.2009, 19:56
Re: unreachable code - by James_Alex - 15.08.2009, 20:00
Re: unreachable code - by dice7 - 15.08.2009, 20:03
Re: unreachable code - by Typhome - 15.08.2009, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)