BIND 10 jinmei-l1cache, updated. afc6223cd09f2ce4823589b236c8cf758ec7df33 [jinmei-l1cache] initialize a variable to silence a compiler.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Feb 22 03:07:50 UTC 2013


The branch, jinmei-l1cache has been updated
       via  afc6223cd09f2ce4823589b236c8cf758ec7df33 (commit)
      from  0d2f92a59b806c8e7dba659142dcf8c9fc1a65f7 (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 afc6223cd09f2ce4823589b236c8cf758ec7df33
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Feb 21 22:06:24 2013 -0500

    [jinmei-l1cache] initialize a variable to silence a compiler.

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

Summary of changes:
 src/bin/dnsl1cache/l1cache/message_handler.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/dnsl1cache/l1cache/message_handler.cc b/src/bin/dnsl1cache/l1cache/message_handler.cc
index fc8e443..0f186c3 100644
--- a/src/bin/dnsl1cache/l1cache/message_handler.cc
+++ b/src/bin/dnsl1cache/l1cache/message_handler.cc
@@ -169,7 +169,7 @@ MessageHandler::MessageHandlerImpl::process(
     const uint16_t data_len = (entry->data_len_ & DNSL1HashEntry::MASK_OFFSET);
     size_t cur_data_len = 0;
     const uint8_t* cur_data_beg = dp_beg;
-    uint32_t ttl_val;
+    uint32_t ttl_val = 0;
     if (elapsed > 0 || do_rotate) {
         const size_t rr_count = entry->ancount_ + entry->nscount_ +
             entry->adcount_;



More information about the bind10-changes mailing list