(svn r20860) -Cleanup: remove some unused functions and variables

This commit is contained in:
smatz
2010-10-01 16:42:28 +00:00
parent 97e3f000dd
commit 548a3747e9
9 changed files with 5 additions and 56 deletions

View File

@@ -137,11 +137,9 @@ static void Save_EIDS()
static void Load_EIDS()
{
int index;
_engine_mngr.Clear();
while ((index = SlIterateArray()) != -1) {
while (SlIterateArray() != -1) {
EngineIDMapping *eid = _engine_mngr.Append();
SlObject(eid, _engine_id_mapping_desc);
}

View File

@@ -109,9 +109,8 @@ static void Load_RAIL()
_railtype_list.Clear();
LabelObject lo;
int index;
while ((index = SlIterateArray()) != -1) {
while (SlIterateArray() != -1) {
SlObject(&lo, _label_object_desc);
*_railtype_list.Append() = (RailTypeLabel)lo.label;
}