diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-22 20:42:09 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-22 20:42:09 +0000 |
| commit | 21d3f3889ede9bd4b2c48424715e44ad2c405500 (patch) | |
| tree | 720382f460c5e6139f7aedc9f9106ef9a6cb3675 /test | |
| parent | 9de1a9516f1fad4cc669cb7622b8f2828eddcbf9 (diff) | |
Add -Wextra and fix the warnings.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc index d2c589951..6d4cca060 100644 --- a/test/test.cc +++ b/test/test.cc @@ -315,7 +315,7 @@ BOOST_AUTO_TEST_CASE (paths_test) } void -do_remote_encode (shared_ptr<DCPVideoFrame> frame, ServerDescription* description, shared_ptr<EncodedData> locally_encoded, int N) +do_remote_encode (shared_ptr<DCPVideoFrame> frame, ServerDescription* description, shared_ptr<EncodedData> locally_encoded) { shared_ptr<EncodedData> remotely_encoded; BOOST_CHECK_NO_THROW (remotely_encoded = frame->encode_remotely (description)); @@ -385,7 +385,7 @@ BOOST_AUTO_TEST_CASE (client_server_test) list<thread*> threads; for (int i = 0; i < 8; ++i) { - threads.push_back (new thread (boost::bind (do_remote_encode, frame, &description, locally_encoded, i))); + threads.push_back (new thread (boost::bind (do_remote_encode, frame, &description, locally_encoded))); } for (list<thread*>::iterator i = threads.begin(); i != threads.end(); ++i) { |
