Cppcheck warning.
--HG-- branch : develop
This commit is contained in:
parent
1329496930
commit
1bf37872b4
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user