BIND 10 master, updated. 79154442df1acbc7b00e57091b94a97086134a71 [master] Add missing include to fix build error

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jul 3 21:50:36 UTC 2013


The branch, master has been updated
       via  79154442df1acbc7b00e57091b94a97086134a71 (commit)
       via  81ddf65784bb1089f4c6761f018ed1ada5a45ad2 (commit)
      from  675e72e818b0a0e61ee8e4c62611ce41e1b5fd98 (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 79154442df1acbc7b00e57091b94a97086134a71
Author: Mukund Sivaraman <muks at isc.org>
Date:   Thu Jul 4 03:14:10 2013 +0530

    [master] Add missing include to fix build error

commit 81ddf65784bb1089f4c6761f018ed1ada5a45ad2
Author: Mukund Sivaraman <muks at isc.org>
Date:   Thu Jul 4 03:12:36 2013 +0530

    [master] Fix cppcheck report about inefficient code

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

Summary of changes:
 src/bin/d2/d_cfg_mgr.cc |    2 +-
 src/bin/d2/ncr_msg.cc   |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/d2/d_cfg_mgr.cc b/src/bin/d2/d_cfg_mgr.cc
index a8394a9..1e6bb57 100644
--- a/src/bin/d2/d_cfg_mgr.cc
+++ b/src/bin/d2/d_cfg_mgr.cc
@@ -140,7 +140,7 @@ DCfgMgrBase::parseConfig(isc::data::ConstElementPtr config_set) {
         // specific order if the list (parser_order_) is not empty; otherwise
         // elements are parsed in the order the value_map presents them.
 
-        if (parse_order_.size() > 0) {
+        if (!parse_order_.empty()) {
             // For each element_id in the parse order list, look for it in the
             // value map.  If the element exists in the map, pass it and it's
             // associated data in for parsing.
diff --git a/src/bin/d2/ncr_msg.cc b/src/bin/d2/ncr_msg.cc
index cec07e0..cf47176 100644
--- a/src/bin/d2/ncr_msg.cc
+++ b/src/bin/d2/ncr_msg.cc
@@ -17,6 +17,7 @@
 #include <asiolink/io_error.h>
 
 #include <sstream>
+#include <limits>
 
 namespace isc {
 namespace d2 {



More information about the bind10-changes mailing list