X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fimage_test.cc;h=56e6819436886b187f39861f2207ea198994bda0;hb=HEAD;hp=cad30813c6da0203b515d892a188d6c706eb4126;hpb=9d1d1cea1cdf17b4cc2208800ca22288f979d3ec;p=dcpomatic.git diff --git a/test/image_test.cc b/test/image_test.cc index cad30813c..4df4f9125 100644 --- a/test/image_test.cc +++ b/test/image_test.cc @@ -658,7 +658,6 @@ BOOST_AUTO_TEST_CASE (make_black_test) AV_PIX_FMT_RGB555LE, // 46 }; - int N = 0; for (auto i: pix_fmts) { auto foo = make_shared(i, in_size, Image::Alignment::PADDED); foo->make_black (); @@ -675,8 +674,6 @@ BOOST_AUTO_TEST_CASE (make_black_test) } p += bar->stride()[0]; } - - ++N; } } @@ -702,7 +699,6 @@ BOOST_AUTO_TEST_CASE (make_part_black_test) { 128, 64 }, }; - int N = 0; for (auto i: pix_fmts) { for (auto j: positions) { auto foo = original->convert_pixel_format(dcp::YUVToRGB::REC601, i, Image::Alignment::PADDED, false); @@ -735,8 +731,6 @@ BOOST_AUTO_TEST_CASE (make_part_black_test) } p += bar->stride()[0]; } - - ++N; } } }