projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befb56d
)
Fix re-used variable inside a loop.
author
Carl Hetherington
<cth@carlh.net>
Thu, 2 Dec 2021 22:54:27 +0000
(23:54 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 3 Dec 2021 20:23:07 +0000
(21:23 +0100)
src/lib/dcp.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp.cc
b/src/lib/dcp.cc
index abdfc7f9eaad8aa92b223a44bab1c87f1f663dc1..ff5414fb07f5474bfaa964799b8139c5b9a3273e 100644
(file)
--- a/
src/lib/dcp.cc
+++ b/
src/lib/dcp.cc
@@
-70,8
+70,8
@@
DCP::cpls () const
}
dcps.push_back (dcp);
LOG_GENERAL ("Reading DCP %1: %2 CPLs", i.string(), dcp->cpls().size());
- for (auto
i
: dcp->cpls()) {
- cpls.push_back (
i
);
+ for (auto
j
: dcp->cpls()) {
+ cpls.push_back (
j
);
}
}