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 5a257a7 commit 0bd69445f95f50768a7655eb06a78207b39eed98
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 0bd6944

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