diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-02 23:54:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-12-03 21:23:07 +0100 |
| commit | 8b9d544ba275c9ff19fbcfffafdd28a6d1a8601d (patch) | |
| tree | 905b4507803bbcd2164f2ebd5d906e74d65ca163 | |
| parent | befb56d6c8452cb6600c482de5739913601a110a (diff) | |
Fix re-used variable inside a loop.
| -rw-r--r-- | src/lib/dcp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp.cc b/src/lib/dcp.cc index abdfc7f9e..ff5414fb0 100644 --- 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); } } |
