From 370b93d8e10909203a45fceaea6424253a205814 Mon Sep 17 00:00:00 2001 From: SushiTee Date: Mon, 1 Aug 2011 12:11:10 +0200 Subject: [PATCH] fixed a warning --- src/engine/server/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index 193547ccf..871222256 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -1587,7 +1587,7 @@ void CServer::ConchainModCommandUpdate(IConsole::IResult *pResult, void *pUserDa { CServer *pThis = static_cast(pUserData); const IConsole::CCommandInfo *pInfo = pThis->Console()->GetCommandInfo(pResult->GetString(0), CFGFLAG_SERVER, false); - int OldAccessLevel; + int OldAccessLevel = 0; if(pInfo) OldAccessLevel = pInfo->GetAccessLevel(); pfnCallback(pResult, pCallbackUserData);