CSPForward::execute: Fix uninitialized retVal (#747)

This commit is contained in:
Dmitry Novikov 2019-08-02 14:47:38 +07:00 committed by Vincent Herbet
parent 5a257a7a42
commit 0bd69445f9

View File

@ -323,7 +323,7 @@ cell CSPForward::execute(cell *params, ForwardPreparedArray *preparedArrays)
amx_Push(m_Amx, realParams[i]);
// exec
cell retVal;
cell retVal = 0;
#if defined BINLOG_ENABLED
g_BinLog.WriteOp(BinLog_CallPubFunc, pPlugin->getId(), m_Func);
#endif