BIND 10 trac2861, updated. c2dfa3796558372cb69c9bdad6963835c18b3937 [2861] Initialize members
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jul 11 08:27:39 UTC 2013
The branch, trac2861 has been updated
via c2dfa3796558372cb69c9bdad6963835c18b3937 (commit)
from 54c8dec80aa3198a5f6dd7123c1ca415a85a27f8 (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 c2dfa3796558372cb69c9bdad6963835c18b3937
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Thu Jul 11 10:27:03 2013 +0200
[2861] Initialize members
To silence cppcheck.
-----------------------------------------------------------------------
Summary of changes:
.../auth/tests/datasrc_clients_builder_unittest.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/datasrc_clients_builder_unittest.cc b/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
index f9c2cf2..9b41388 100644
--- a/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
+++ b/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
@@ -58,6 +58,7 @@ protected:
DataSrcClientsBuilderTest() :
clients_map(new std::map<RRClass,
boost::shared_ptr<ConfigurableClientList> >),
+ write_end(-1), read_end(-1),
builder(&command_queue, &callback_queue, &cond, &queue_mutex,
&clients_map, &map_mutex, generateSockets()),
cond(command_queue, delayed_command_queue), rrclass(RRClass::IN()),
@@ -74,6 +75,7 @@ protected:
std::list<Command> command_queue; // test command queue
std::list<Command> delayed_command_queue; // commands available after wait
std::list<FinishedCallback> callback_queue; // Callbacks from commands
+ int write_end, read_end;
TestDataSrcClientsBuilder builder;
TestCondVar cond;
TestMutex queue_mutex;
@@ -81,7 +83,6 @@ protected:
const RRClass rrclass;
const Command shutdown_cmd;
const Command noop_cmd;
- int write_end, read_end;
private:
int generateSockets() {
int pair[2];
More information about the bind10-changes
mailing list