BIND 10 master, updated. dc49f886943c9f66a1f5bce734c7e434af88686d Fixed Clang warning about unused function in iface_mgr_unittest.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 23 14:38:22 UTC 2011


The branch, master has been updated
       via  dc49f886943c9f66a1f5bce734c7e434af88686d (commit)
      from  156282cb2989360f6d329049f58e60917859f61e (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 dc49f886943c9f66a1f5bce734c7e434af88686d
Author: Tomek Mrugalski <tomasz at isc.org>
Date:   Fri Dec 23 15:37:52 2011 +0100

    Fixed Clang warning about unused function in iface_mgr_unittest.cc

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

Summary of changes:
 src/lib/dhcp/tests/iface_mgr_unittest.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/tests/iface_mgr_unittest.cc b/src/lib/dhcp/tests/iface_mgr_unittest.cc
index 46e1543..b890bca 100644
--- a/src/lib/dhcp/tests/iface_mgr_unittest.cc
+++ b/src/lib/dhcp/tests/iface_mgr_unittest.cc
@@ -614,6 +614,8 @@ TEST_F(IfaceMgrTest, socketInfo) {
     delete ifacemgr;
 }
 
+#if defined(OS_LINUX)
+
 /// @brief parses text representation of MAC address
 ///
 /// This function parses text representation of a MAC address and stores
@@ -662,8 +664,6 @@ size_t parse_mac(const std::string& textMac, uint8_t* mac, size_t macLen) {
     return (i);
 }
 
-#if defined(OS_LINUX)
-
 /// @brief Parses 'ifconfig -a' output and creates list of interfaces
 ///
 /// This method tries to parse ifconfig output. Note that there are some




More information about the bind10-changes mailing list