diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-22 10:14:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:02:17 +0100 |
| commit | 1430a3f964ea769f7a3da3ef473b2abf6582c53f (patch) | |
| tree | 6e48bb50ea6559c3f74ff4c15ee1a88d68ea2891 | |
| parent | 34c9160cc4cb9ab9aff70e7be47c403098436838 (diff) | |
Remove unused variables.
| -rw-r--r-- | test/image_test.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/image_test.cc b/test/image_test.cc index 899961f50..fae65af1c 100644 --- a/test/image_test.cc +++ b/test/image_test.cc @@ -654,7 +654,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<Image>(i, in_size, Image::Alignment::PADDED); foo->make_black (); @@ -671,8 +670,6 @@ BOOST_AUTO_TEST_CASE (make_black_test) } p += bar->stride()[0]; } - - ++N; } } @@ -698,7 +695,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); @@ -731,8 +727,6 @@ BOOST_AUTO_TEST_CASE (make_part_black_test) } p += bar->stride()[0]; } - - ++N; } } } |
