From: Mukund Sivaraman Date: Wed, 24 Jul 2013 05:58:56 +0000 (+0530) Subject: [master] Initialize rcode_ to avoid cppcheck warning X-Git-Tag: bind10-1.2.0beta1-release~330 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe2331e7e0cadd2e70dfecdb9cf5a67f6484a5bd;p=thirdparty%2Fkea.git [master] Initialize rcode_ to avoid cppcheck warning --- diff --git a/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc b/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc index 93b0a4f02a..2cdf900882 100644 --- a/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc +++ b/src/bin/dhcp4/tests/dhcp4_srv_unittest.cc @@ -193,7 +193,9 @@ public: /// /// Initializes common objects used in many tests. /// Also sets up initial configuration in CfgMgr. - Dhcpv4SrvTest() { + Dhcpv4SrvTest() : + rcode_(0) + { subnet_ = Subnet4Ptr(new Subnet4(IOAddress("192.0.2.0"), 24, 1000, 2000, 3000)); pool_ = Pool4Ptr(new Pool4(IOAddress("192.0.2.100"), IOAddress("192.0.2.110")));