diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-10 12:26:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-10 12:26:21 +0100 |
| commit | a30100943a7a750a0c26fbcfc841b6ade4ac36c4 (patch) | |
| tree | 7750dd84e637b351a2f4e8d78f633b67e8553d3b /test | |
| parent | 50ce388189f9c930ea0ba80cfb20237cfa464a3f (diff) | |
Fix a few warnings.
Diffstat (limited to 'test')
| -rw-r--r-- | test/black_fill_test.cc | 4 | ||||
| -rw-r--r-- | test/scaling_test.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/black_fill_test.cc b/test/black_fill_test.cc index 7ea031e27..1e3bf1d54 100644 --- a/test/black_fill_test.cc +++ b/test/black_fill_test.cc @@ -39,7 +39,7 @@ BOOST_AUTO_TEST_CASE (black_fill_test) film->examine_and_add_content (contentA); film->examine_and_add_content (contentB); - while (JobManager::instance()->work_to_do ()); + while (JobManager::instance()->work_to_do ()) {} contentA->set_video_length (3); contentA->set_start (film->video_frames_to_time (2)); @@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE (black_fill_test) film->make_dcp (); - while (JobManager::instance()->work_to_do ()); + while (JobManager::instance()->work_to_do ()) {} BOOST_CHECK (!JobManager::instance()->errors()); diff --git a/test/scaling_test.cc b/test/scaling_test.cc index dba611043..ab64928ce 100644 --- a/test/scaling_test.cc +++ b/test/scaling_test.cc @@ -31,7 +31,7 @@ static void scaling_test_for (shared_ptr<Film> film, shared_ptr<VideoContent> co film->set_container (Ratio::from_id (container)); film->make_dcp (); - while (JobManager::instance()->work_to_do ()); + while (JobManager::instance()->work_to_do ()) {} BOOST_CHECK (!JobManager::instance()->errors()); @@ -57,7 +57,7 @@ BOOST_AUTO_TEST_CASE (scaling_test) shared_ptr<ImageMagickContent> imc (new ImageMagickContent (film, "test/data/simple_testcard_640x480.png")); film->examine_and_add_content (imc); - while (JobManager::instance()->work_to_do ()); + while (JobManager::instance()->work_to_do ()) {} imc->set_video_length (1); |
