mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58: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
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue