Session/Conn: Follow-up fix for hist_seen and history lift

Borked in commit b4e86f28b8.

We don't need to initialize std::string explicitly either.

Thanks coverity!
This commit is contained in:
Arne Welzel 2024-01-12 12:21:40 +01:00
parent 2182ec03b3
commit 9a922d88b2
2 changed files with 1 additions and 3 deletions

View file

@ -58,9 +58,6 @@ Connection::Connection(const detail::ConnKey& k, double t, const ConnTuple* id,
finished = 0;
hist_seen = 0;
history = "";
adapter = nullptr;
primary_PIA = nullptr;

View file

@ -58,6 +58,7 @@ Session::Session(double t, EventHandlerPtr timeout_event, EventHandlerPtr status
timers_canceled = 0;
inactivity_timeout = 0;
installed_status_timer = 0;
hist_seen = 0;
}
void Session::Event(EventHandlerPtr f, analyzer::Analyzer* analyzer, const char* name) {