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/scaling_test.cc | |
| parent | 50ce388189f9c930ea0ba80cfb20237cfa464a3f (diff) | |
Fix a few warnings.
Diffstat (limited to 'test/scaling_test.cc')
| -rw-r--r-- | test/scaling_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
