Remove unused variables (nobug, r=askerin).
This commit is contained in:
parent
3c6dd2cb79
commit
a98d277cf3
@ -1713,7 +1713,6 @@ void AdminCache::DumpCache(FILE *fp)
|
||||
unsigned int num;
|
||||
AdminUser *pAdmin;
|
||||
AdminGroup *pGroup;
|
||||
char name_buffer[512];
|
||||
|
||||
fprintf(fp, "\"Groups\"\n{\n");
|
||||
|
||||
|
@ -380,7 +380,6 @@ DataTableInfo *CHalfLife2::_FindServerClass(const char *classname)
|
||||
bool CHalfLife2::FindSendPropInfo(const char *classname, const char *offset, sm_sendprop_info_t *info)
|
||||
{
|
||||
DataTableInfo *pInfo;
|
||||
sm_sendprop_info_t *prop;
|
||||
|
||||
if ((pInfo = _FindServerClass(classname)) == NULL)
|
||||
{
|
||||
@ -435,7 +434,6 @@ bool CHalfLife2::FindDataMapInfo(datamap_t *pMap, const char *offset, sm_datatab
|
||||
|
||||
DataMapCache *cache = i->value;
|
||||
|
||||
sm_datatable_info_t *pNewTable;
|
||||
if (!cache->retrieve(offset, pDataTable))
|
||||
{
|
||||
if (!UTIL_FindDataMapInfo(pMap, offset, pDataTable))
|
||||
|
@ -2175,7 +2175,6 @@ static cell_t GetEntityFlags(IPluginContext *pContext, const cell_t *params)
|
||||
return pContext->ThrowNativeError("Could not find m_fFlags prop in gamedata");
|
||||
}
|
||||
|
||||
typedescription_t *td;
|
||||
datamap_t *pMap;
|
||||
|
||||
if ((pMap = CBaseEntity_GetDataDescMap(pEntity)) == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user