Skip to content
Permalink
Browse files

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

  • Loading branch information
s1lentq authored and Arkshine committed Aug 2, 2019
1 parent 9e962ce commit 5e48c9b6db4f739e04e35226ecc825b82e0a5d73
Showing with 1 addition and 1 deletion.
  1. +1 −1 amxmodx/CForward.cpp
@@ -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

0 comments on commit 5e48c9b

Please sign in to comment.
You can’t perform that action at this time.