BIND 10 master, updated. 6718ccfa5f7ca499473590aa0a8618ec7adca46e [master] workaround for cppcheck failure: avoid using an 'immediately destructed scoped object'
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Dec 22 17:39:10 UTC 2011
The branch, master has been updated
via 6718ccfa5f7ca499473590aa0a8618ec7adca46e (commit)
from 3663624dd0efb7d2864117c430b6b9c1efa41e11 (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 6718ccfa5f7ca499473590aa0a8618ec7adca46e
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Dec 22 09:38:26 2011 -0800
[master] workaround for cppcheck failure: avoid using an 'immediately
destructed scoped object'
-----------------------------------------------------------------------
Summary of changes:
src/lib/util/tests/socketsession_unittest.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/util/tests/socketsession_unittest.cc b/src/lib/util/tests/socketsession_unittest.cc
index 95c0dbd..b9f2667 100644
--- a/src/lib/util/tests/socketsession_unittest.cc
+++ b/src/lib/util/tests/socketsession_unittest.cc
@@ -816,9 +816,9 @@ TEST_F(ForwardTest, badPop) {
sock.reset(-1);
// The passed one should have been closed, too, so we should be able
// to bind a new socket to the same port.
- ScopedSocket(createSocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP,
- getSockAddr("127.0.0.1", TEST_PORT),
- false));
+ sock.reset(createSocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP,
+ getSockAddr("127.0.0.1", TEST_PORT),
+ false));
}
TEST(SocketSessionTest, badValue) {
More information about the bind10-changes
mailing list