projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unused variable.
[dcpomatic.git]
/
src
/
lib
/
check_hashes_job.cc
diff --git
a/src/lib/check_hashes_job.cc
b/src/lib/check_hashes_job.cc
index cf269564aa7f2dc81717907249e087fef2c5d835..f60a2d40d62cff94e24473503dc5a84e733e7357 100644
(file)
--- a/
src/lib/check_hashes_job.cc
+++ b/
src/lib/check_hashes_job.cc
@@
-48,8
+48,10
@@
void
CheckHashesJob::run ()
{
_bad = 0;
+
+ int const N = _fs->dcp_length ();
- for (int i = 0; i <
_fs->length
; ++i) {
+ for (int i = 0; i <
N
; ++i) {
string const j2k_file = _opt->frame_out_path (i, false);
string const hash_file = j2k_file + ".md5";