projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ee0e5
)
Remove unused variable.
author
Carl Hetherington
<cth@carlh.net>
Fri, 2 Feb 2024 14:42:49 +0000
(15:42 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 3 Feb 2024 08:57:25 +0000
(09:57 +0100)
test/image_test.cc
patch
|
blob
|
history
diff --git
a/test/image_test.cc
b/test/image_test.cc
index cad30813c6da0203b515d892a188d6c706eb4126..4df4f9125a6889a1cfce4931f9af34fb6b023288 100644
(file)
--- 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;
}
}
}