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

@ -1218,9 +1218,8 @@ Val* ForStmt::DoExec(Frame* f, Val* v, stmt_flow_type& flow) const
const PDict(TableEntryVal)* loop_vals = tv->AsTable();
HashKey* k;
TableEntryVal* iter_val;
IterCookie* c = loop_vals->InitForIteration();
while ( (iter_val = loop_vals->NextEntry(k, c)) )
while ( loop_vals->NextEntry(k, c) )
{
ListVal* ind_lv = tv->RecoverIndex(k);
delete k;