From 2625d95fa19fe8ee4f61a8d7edd43f9ae6543788 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 2 Feb 2024 15:42:49 +0100 Subject: [PATCH] Remove unused variable. --- test/image_test.cc | 6 ------ 1 file changed, 6 deletions(-) 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; } } } -- 2.30.2