Commit a131658e authored by Marius Pa's avatar Marius Pa Committed by Albert Astals Cid
Browse files

kexiv2 wrong if condition

Fix PVS-Studio issue "kexiv2.cpp:411: warning: V547
Expression 'writeToFile' is always true.".
parent 9e1bfc0b
Pipeline #228466 passed with stage
in 6 minutes and 20 seconds
......@@ -408,7 +408,7 @@ bool KExiv2::save(const QString& imageFilePath) const
qCDebug(LIBKEXIV2_LOG) << "Will write Metadata to file" << finfo.absoluteFilePath();
writtenToFile = d->saveToFile(finfo);
if (writeToFile)
if (writtenToFile)
qCDebug(LIBKEXIV2_LOG) << "Metadata for file" << finfo.fileName() << "written to file.";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment