mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove logically dead code.
This commit is contained in:
parent
4072afb363
commit
64f3bef96d
4 changed files with 3 additions and 4 deletions
|
@ -1247,7 +1247,7 @@ bool RemoteSerializer::SendCapabilities(Peer* peer)
|
|||
caps |= Peer::PID_64BIT;
|
||||
caps |= Peer::NEW_CACHE_STRATEGY;
|
||||
|
||||
return caps ? SendToChild(MSG_CAPS, peer, 3, caps, 0, 0) : true;
|
||||
return SendToChild(MSG_CAPS, peer, 3, caps, 0, 0);
|
||||
}
|
||||
|
||||
bool RemoteSerializer::Listen(const IPAddr& ip, uint16 port, bool expect_ssl,
|
||||
|
|
|
@ -2162,7 +2162,7 @@ void TableVal::DoExpire(double t)
|
|||
|
||||
else if ( v->ExpireAccessTime() + expire_time < t )
|
||||
{
|
||||
Val* val = v ? v->Value() : 0;
|
||||
Val* val = v->Value();
|
||||
|
||||
if ( expire_expr )
|
||||
{
|
||||
|
|
|
@ -79,7 +79,7 @@ flow AYIYA_Flow
|
|||
|
||||
sessions->DoNextInnerPacket(network_time(), 0, inner, e, ec);
|
||||
|
||||
return (result == 0) ? true : false;
|
||||
return true;
|
||||
%}
|
||||
|
||||
};
|
||||
|
|
|
@ -1153,7 +1153,6 @@ int Manager::SendEntryTable(Stream* i, const Value* const *vals)
|
|||
{
|
||||
// just quit and delete everything we created.
|
||||
delete idxhash;
|
||||
delete h;
|
||||
return stream->num_val_fields + stream->num_idx_fields;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue