summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-02 15:42:49 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-03 09:57:25 +0100
commit2625d95fa19fe8ee4f61a8d7edd43f9ae6543788 (patch)
treea142d994af724e2ecc9c68f55bd0abbad8dcbfb7
parent79ee0e5e79d8fb4a405d8b29827347d0243a17fe (diff)
Remove unused variable.
-rw-r--r--test/image_test.cc6
1 files changed, 0 insertions, 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<Image>(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;
}
}
}