Internals: Fix GCC8 cppcheck warnings. No functional change.

This commit is contained in:
Wilson Snyder
2018-02-07 20:16:53 -05:00
parent 32859d9fc2
commit 22573d238b
15 changed files with 24 additions and 21 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ V3ConfigIgnores V3ConfigIgnores::s_singleton;
//######################################################################
// V3Config
void V3Config::addIgnore(V3ErrorCode code, bool on, string filename, int min, int max) {
void V3Config::addIgnore(V3ErrorCode code, bool on, const string& filename, int min, int max) {
if (filename=="*") {
FileLine::globalWarnOff(code,!on);
} else {