BIND 10 trac1976-cont-3, updated. eecbfe1f68e76f43ee01105112a5f4e7fc99006d [1976] Fix cppcheck

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Jul 13 11:55:27 UTC 2012


The branch, trac1976-cont-3 has been updated
       via  eecbfe1f68e76f43ee01105112a5f4e7fc99006d (commit)
      from  a9e6753cf15e6df9639e012744c3422cfc212827 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eecbfe1f68e76f43ee01105112a5f4e7fc99006d
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Fri Jul 13 13:55:03 2012 +0200

    [1976] Fix cppcheck
    
    The variable was not used, but it is good to initialize it anyway.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/client_list.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/client_list.h b/src/lib/datasrc/client_list.h
index 4006f12..fc266c6 100644
--- a/src/lib/datasrc/client_list.h
+++ b/src/lib/datasrc/client_list.h
@@ -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 {



More information about the bind10-changes mailing list