Fix linux warnings (and build?)

Former-commit-id: 21906adfdf35e5deecb10eb286a5b09b706f20a4
This commit is contained in:
Vincent Herbet
2013-06-25 19:06:11 +02:00
parent 89b28d5a4a
commit e3a380bbe4
5 changed files with 10 additions and 10 deletions

View File

@@ -391,7 +391,7 @@ int Debugger::FormatError(char *buffer, size_t maxLength)
//trace_info_t *pTrace = pTracer->GetEnd();
//cell cip = _CipAsVa(m_pAmx->cip);
//cell *p_cip = NULL;
int amx_err = AMX_ERR_NONE;
//int amx_err = AMX_ERR_NONE;
size += _snprintf(buffer, maxLength, "Run time error %d: %s ", error, gen_err);
buffer += size;
@@ -410,7 +410,7 @@ int Debugger::FormatError(char *buffer, size_t maxLength)
}*/
//New code only requires this...
num = (int)(_INT_PTR)m_pAmx->usertags[UT_NATIVE];
amx_err = amx_GetNative(m_pAmx, num, native_name);
/*amx_err = */amx_GetNative(m_pAmx, num, native_name);
/*if (num)
amx_err = amx_GetNative(m_pAmx, (int)*p_cip, native_name);
else