Internals: Fix cppcheck warnings. No functional change.

This commit is contained in:
Wilson Snyder
2015-10-04 13:11:32 -04:00
parent f71d904a9b
commit 5de83c9805
7 changed files with 23 additions and 15 deletions
+2 -2
View File
@@ -363,7 +363,7 @@ private:
}
return out;
}
// cppcheck-suppress unusedFunction
// cppcheck-suppress unusedFunction unusedPrivateFunction
string readFilterLine() {
// Slow, but we don't need it much
UINFO(9,"readFilterLine\n");
@@ -381,7 +381,7 @@ private:
UINFO(6,"filter-line-in: "<<line);
return line;
}
// cppcheck-suppress unusedFunction
// cppcheck-suppress unusedFunction unusedPrivateFunction
void writeFilter(const string& out) {
if (debug()>=6) { UINFO(6,"filter-out: "<<out); if (out[out.length()-1]!='\n') cout<<endl; }
if (!m_pid) { v3error("--pipe-filter: write to closed file\n"); m_readEof = true; stop(); }