unreachable code, loose indentation
#8

Quote:
Originally Posted by dice7
Посмотреть сообщение
because you still have code under the return 0, which will never get called since you terminate it before it gets reached
pawn Код:
}
        }
        return 1;
    }
return 0;  // warning 217: loose indentation
}
// the rest is unreachable
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{

bleh blah whats left other thins...
no codes below... thats my last command in the list
Reply


Messages In This Thread
unreachable code, loose indentation - by Divine - 28.01.2011, 14:19
Re: unreachable code, loose indentation - by BMUK - 28.01.2011, 14:22
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 14:54
Re: unreachable code, loose indentation - by HyperZ - 28.01.2011, 14:58
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:00
Re: unreachable code, loose indentation - by HyperZ - 28.01.2011, 15:01
Re: unreachable code, loose indentation - by dice7 - 28.01.2011, 15:02
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:04
Re: unreachable code, loose indentation - by dice7 - 28.01.2011, 15:14
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:29

Forum Jump:


Users browsing this thread: 1 Guest(s)