From: Carl Hetherington Date: Fri, 2 Feb 2024 14:42:49 +0000 (+0100) Subject: Remove unused variable. X-Git-Tag: v2.16.74~1 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=2625d95fa19fe8ee4f61a8d7edd43f9ae6543788;p=dcpomatic.git Remove unused variable. --- 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; } } }