Remove unused variable assignments, dead code.

This commit is contained in:
Jon Siwek 2013-09-23 16:57:31 -05:00
parent 9c2a3124e0
commit e4e7c78925
5 changed files with 4 additions and 11 deletions

View file

@ -1656,8 +1656,7 @@ int TableVal::RemoveFrom(Val* val) const
IterCookie* c = tbl->InitForIteration();
HashKey* k;
TableEntryVal* v;
while ( (v = tbl->NextEntry(k, c)) )
while ( tbl->NextEntry(k, c) )
{
Val* index = RecoverIndex(k);
@ -1955,8 +1954,7 @@ ListVal* TableVal::ConvertToList(TypeTag t) const
IterCookie* c = tbl->InitForIteration();
HashKey* k;
TableEntryVal* v;
while ( (v = tbl->NextEntry(k, c)) )
while ( tbl->NextEntry(k, c) )
{
ListVal* index = table_hash->RecoverVals(k);