Fix unreachable code (#465)
This commit is contained in:
parent
5a2d940631
commit
7fe7cd746f
|
@ -441,8 +441,8 @@ int CForwardMngr::registerSPForward(int func, AMX *amx, int numParams, const For
|
|||
|
||||
if (pForward->getFuncsNum() == 0)
|
||||
{
|
||||
return -1;
|
||||
delete pForward;
|
||||
return -1;
|
||||
}
|
||||
|
||||
m_SPForwards.append(pForward);
|
||||
|
|
Loading…
Reference in New Issue
Block a user