From: Christian Herdtweck Date: Fri, 19 Jun 2015 15:24:06 +0000 (+0200) Subject: revision 0.6r5 so we are in sync with other revision numbers; make compiler happier X-Git-Url: http://developer.intra2net.com/git/?p=pingcheck;a=commitdiff_plain;h=48f231cb3be7c453b273a2714ce2f217fc59ca32 revision 0.6r5 so we are in sync with other revision numbers; make compiler happier --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c44abe..c29c155 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # project: definitions project(pingcheck) set(VERSION 0.6) -set(VERSION_REVISION 4) +set(VERSION_REVISION 5) set(TARGET ${PROJECT_NAME}) # cmake: build options diff --git a/src/dns/cname.h b/src/dns/cname.h index 883dc51..7a1010e 100644 --- a/src/dns/cname.h +++ b/src/dns/cname.h @@ -39,7 +39,8 @@ struct Cname std::string Host; TimeToLive Ttl; - Cname() {} + Cname() + : Host(""), Ttl( TimeToLive(0) ) {} Cname(const std::string &host, const uint32_t ttl) : Host(host), Ttl( TimeToLive(ttl) ) {}