projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c9160
)
Remove unused variables.
author
Carl Hetherington
<cth@carlh.net>
Mon, 22 Jan 2024 09:14:28 +0000
(10:14 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 28 Jan 2024 01:02:17 +0000
(
02:02
+0100)
test/image_test.cc
patch
|
blob
|
history
diff --git
a/test/image_test.cc
b/test/image_test.cc
index 899961f50cd8869cad3cc6cf75a2e43391aea3a9..fae65af1c06bebf7a9f0dcb498cdf9775c484579 100644
(file)
--- 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;
}
}
}