Skip to content

Commit

Permalink
rs-identify: sink init into for()
Browse files Browse the repository at this point in the history
  • Loading branch information
LebedevRI committed Nov 9, 2023
1 parent b6d266b commit 3da29bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utilities/identify/rawspeed-identify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ int main(int argc, char* argv[]) { // NOLINT
d->decodeMetaData(meta.get());
r = d->mRaw;

const auto errors = r->getErrors();
for (const auto& error : errors)
for (const auto errors = r->getErrors(); const auto& error : errors)
fprintf(stderr, "WARNING: [rawspeed] %s\n", error.c_str());

fprintf(stdout, "blackLevel: %d\n", r->blackLevel);
Expand Down

0 comments on commit 3da29bb

Please sign in to comment.