Repository: trafficserver Updated Branches: refs/heads/master 56160c13a -> c5dd0f6f4
Init variables of the ShowHostDB struct in order to avoid warnings Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c5dd0f6f Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c5dd0f6f Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c5dd0f6f Branch: refs/heads/master Commit: c5dd0f6f4c48f31a8f3b506564cc6c51f90e7896 Parents: 56160c1 Author: Thomas Jackson <[email protected]> Authored: Tue Jul 7 17:18:37 2015 -0700 Committer: Thomas Jackson <[email protected]> Committed: Tue Jul 7 17:19:11 2015 -0700 ---------------------------------------------------------------------- iocore/hostdb/HostDB.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c5dd0f6f/iocore/hostdb/HostDB.cc ---------------------------------------------------------------------- diff --git a/iocore/hostdb/HostDB.cc b/iocore/hostdb/HostDB.cc index 25628e8..378fb4b 100644 --- a/iocore/hostdb/HostDB.cc +++ b/iocore/hostdb/HostDB.cc @@ -2388,8 +2388,9 @@ struct ShowHostDB : public ShowCont { } - ShowHostDB(Continuation *c, HTTPHdr *h) : ShowCont(c, h), name(0), force(0), port(0) + ShowHostDB(Continuation *c, HTTPHdr *h) : ShowCont(c, h), name(0), port(0), force(0) { + ats_ip_invalidate(&ip); SET_HANDLER(&ShowHostDB::showMain); }
