diff --git a/amxmodx/CForward.cpp b/amxmodx/CForward.cpp index 73501cd5..faa54967 100755 --- a/amxmodx/CForward.cpp +++ b/amxmodx/CForward.cpp @@ -43,7 +43,6 @@ CForward::CForward(const char *name, ForwardExecType et, int numParams, const Fo // find funcs int func; - AMXForward *tmp = NULL; m_Funcs.clear(); for (CPluginMngr::iterator iter = g_plugins.begin(); iter; ++iter) @@ -69,8 +68,6 @@ cell CForward::execute(cell *params, ForwardPreparedArray *preparedArrays) cell globRetVal = 0; - unsigned int id = 0; - AMXForwardList::iterator iter; for (iter = m_Funcs.begin(); iter != m_Funcs.end(); iter++) @@ -85,7 +82,7 @@ cell CForward::execute(cell *params, ForwardPreparedArray *preparedArrays) pDebugger->BeginExec(); // handle strings & arrays - int i, ax = 0; + int i; for (i = 0; i < m_NumParams; ++i) { diff --git a/amxmodx/amxxfile.cpp b/amxmodx/amxxfile.cpp index fe0a4a6e..5bb7cfd9 100755 --- a/amxmodx/amxxfile.cpp +++ b/amxmodx/amxxfile.cpp @@ -53,7 +53,7 @@ struct TableEntry { - mint8_t cellSize PACKED; + mint8_t cellSize ; mint32_t origSize PACKED; // contains AMX_HEADER->stp mint32_t offset PACKED; }; diff --git a/amxmodx/debugger.cpp b/amxmodx/debugger.cpp index 7bdc1c07..f850ea09 100755 --- a/amxmodx/debugger.cpp +++ b/amxmodx/debugger.cpp @@ -388,9 +388,9 @@ int Debugger::FormatError(char *buffer, size_t maxLength) int error = pTracer->m_Error; const char *gen_err = GenericError(error); int size = 0; - trace_info_t *pTrace = pTracer->GetEnd(); - cell cip = _CipAsVa(m_pAmx->cip); - cell *p_cip = NULL; + //trace_info_t *pTrace = pTracer->GetEnd(); + //cell cip = _CipAsVa(m_pAmx->cip); + //cell *p_cip = NULL; int amx_err = AMX_ERR_NONE; size += _snprintf(buffer, maxLength, "Run time error %d: %s ", error, gen_err);