Fix uninitialized (or unused) fields.

This commit is contained in:
Jon Siwek 2013-09-27 10:13:52 -05:00
parent 64f3bef96d
commit 775ec6795e
62 changed files with 135 additions and 98 deletions

View file

@ -20,7 +20,7 @@ public:
void Dispatch(double t, int is_expire);
protected:
AnalyzerTimer() {}
AnalyzerTimer() : analyzer(), timer(), do_expire() {}
void Init(Analyzer* analyzer, analyzer_timer_func timer, int do_expire);
@ -124,6 +124,7 @@ void Analyzer::CtorInit(const Tag& arg_tag, Connection* arg_conn)
tag = arg_tag;
id = ++id_counter;
protocol_confirmed = false;
timers_canceled = false;
skip = false;
finished = false;
removing = false;