mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Remove unused variable assignments, dead code.
This commit is contained in:
parent
9c2a3124e0
commit
e4e7c78925
5 changed files with 4 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue