mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Fix uninitialized (or unused) fields.
This commit is contained in:
parent
64f3bef96d
commit
775ec6795e
62 changed files with 135 additions and 98 deletions
|
@ -55,15 +55,12 @@ struct SessionStats {
|
|||
class TimerMgrExpireTimer : public Timer {
|
||||
public:
|
||||
TimerMgrExpireTimer(double t, TimerMgr* arg_mgr)
|
||||
: Timer(t, TIMER_TIMERMGR_EXPIRE)
|
||||
{
|
||||
mgr = arg_mgr;
|
||||
}
|
||||
: Timer(t, TIMER_TIMERMGR_EXPIRE), mgr(arg_mgr)
|
||||
{ }
|
||||
|
||||
virtual void Dispatch(double t, int is_expire);
|
||||
|
||||
protected:
|
||||
double interval;
|
||||
TimerMgr* mgr;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue