Internals: Fix cppcheck warnings. No functional change.

This commit is contained in:
Wilson Snyder
2023-03-18 19:28:48 -04:00
parent 2b21697b86
commit 9b869edd90
9 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ void VlcTop::annotateOutputFiles(const string& dirname) {
const auto lit = lines.find(lineno);
if (lit == lines.end()) {
os << " " << line << '\n';
} else if (lit != lines.end()) {
} else {
VlcSourceCount& sc = lit->second;
// UINFO(0,"Source
// "<<source.name()<<":"<<sc.lineno()<<":"<<sc.column()<<endl);