mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Suppression of unused code
This commit is contained in:
parent
2e069c9596
commit
d65b2f12c6
3 changed files with 0 additions and 4 deletions
|
@ -2664,8 +2664,6 @@ void AssignExpr::EvalIntoAggregate(const BroType* t, Val* aggr, Frame* f) const
|
||||||
Error("bad table insertion");
|
Error("bad table insertion");
|
||||||
|
|
||||||
TableVal* tv = aggr->AsTableVal();
|
TableVal* tv = aggr->AsTableVal();
|
||||||
const TableType* tt = tv->Type()->AsTableType();
|
|
||||||
const BroType* yt = tv->Type()->YieldType();
|
|
||||||
|
|
||||||
Val* index = op1->Eval(f);
|
Val* index = op1->Eval(f);
|
||||||
Val* v = op2->Eval(f);
|
Val* v = op2->Eval(f);
|
||||||
|
|
|
@ -353,7 +353,6 @@ void SMTP_Analyzer::ProcessLine(int length, const char* line, bool orig)
|
||||||
int ext_len;
|
int ext_len;
|
||||||
|
|
||||||
get_word(end_of_line - line, line, ext_len, ext);
|
get_word(end_of_line - line, line, ext_len, ext);
|
||||||
line = skip_whitespace(line + ext_len, end_of_line);
|
|
||||||
ProcessExtension(ext_len, ext);
|
ProcessExtension(ext_len, ext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -990,7 +990,6 @@ void TCP_Analyzer::DeliverPacket(int len, const u_char* data, bool is_orig,
|
||||||
Conn()->SetLastTime(t);
|
Conn()->SetLastTime(t);
|
||||||
|
|
||||||
const IPAddr orig_addr = Conn()->OrigAddr();
|
const IPAddr orig_addr = Conn()->OrigAddr();
|
||||||
const IPAddr resp_addr = Conn()->RespAddr();
|
|
||||||
|
|
||||||
uint32 tcp_hdr_len = data - (const u_char*) tp;
|
uint32 tcp_hdr_len = data - (const u_char*) tp;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue