Skip to content

Commit dab6ae6

Browse files
committed
remove warning message
1 parent 9503fe9 commit dab6ae6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cli/cmdlineparser.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,7 @@ bool CmdLineParser::fillSettingsFromArgs(int argc, const char* const argv[])
254254
auto it = fileSettings.begin();
255255
while (it != fileSettings.end()) {
256256
fileSettings.erase(std::remove_if(std::next(it), fileSettings.end(), [&](const FileSettings& fs) {
257-
if (fs.hash == it->hash) {
258-
mLogger.printMessage("removing duplicate file " + fs.filename());
259-
return true;
260-
}
261-
return false;
257+
return fs.hash == it->hash;
262258
}), fileSettings.end());
263259
++it;
264260
}

0 commit comments

Comments
 (0)