Cppcheck warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-09-07 11:17:13 +03:00
parent 1329496930
commit 1bf37872b4

View File

@ -103,12 +103,10 @@ QStringList RecentFiles(const QStringList &paths)
auto CreateOptimized = [table](int tableRow) auto CreateOptimized = [table](int tableRow)
{ {
QStringList optimized; QStringList optimized;
bool isUnique = true;
QStringList path = table.at(tableRow); QStringList path = table.at(tableRow);
for (int count = 1; count <= path.size(); ++count) for (int count = 1; count <= path.size(); ++count)
{ {
isUnique = true; bool isUnique = true;
optimized = SelectNumber(path, count); optimized = SelectNumber(path, count);
for (int row = 0; row < table.size(); ++row) for (int row = 0; row < table.size(); ++row)