From 0bd69445f95f50768a7655eb06a78207b39eed98 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 2 Aug 2019 14:47:38 +0700 Subject: [PATCH] CSPForward::execute: Fix uninitialized retVal (#747) --- amxmodx/CForward.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/CForward.cpp b/amxmodx/CForward.cpp index 67ad2893..4b6ea2d8 100755 --- a/amxmodx/CForward.cpp +++ b/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