Minor optimization

This commit is contained in:
Nefarius 2014-06-07 20:18:15 +02:00 committed by Nicholas Hastings
parent 27256665ac
commit 3ae505229b

View File

@ -700,8 +700,7 @@ void HTTPSessionManager::RunFrame()
if (pCtx != NULL)
{
funcid_t id = request.contextPack.pCallbackFunction->uPluginFunction;
IPluginFunction *pFunction = NULL;
pFunction = pCtx->GetFunctionById(id);
IPluginFunction *pFunction = pCtx->GetFunctionById(id);
if (pFunction != NULL)
{