]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1976] Fix cppcheck
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Fri, 13 Jul 2012 11:55:03 +0000 (13:55 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Fri, 13 Jul 2012 11:55:03 +0000 (13:55 +0200)
The variable was not used, but it is good to initialize it anyway.

src/lib/datasrc/client_list.h

index 4006f12c5619fd4667ee17109de1997ff9c4969d..fc266c68d5f82e98645df78bf83352555d18aedf 100644 (file)
@@ -192,7 +192,8 @@ public:
     /// \param rrclass For which class the list should work.
     ConfigurableClientList(const isc::dns::RRClass &rrclass) :
         rrclass_(rrclass),
-        configuration_(new isc::data::ListElement)
+        configuration_(new isc::data::ListElement),
+        allow_cache_(false)
     {}
     /// \brief Exception thrown when there's an error in configuration.
     class ConfigurationError : public Exception {