Skip to content

Commit

Permalink
Fix clang warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsnyder committed Jun 6, 2021
1 parent 2158a45 commit 8f2e4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/V3Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char
DECL_OPTION("-error-limit", CbVal, static_cast<void (*)(int)>(&V3Error::errorLimit));
DECL_OPTION("-exe", OnOff, &m_exe);
DECL_OPTION("-expand-limit", CbVal,
[this, fl](const char* valp) { m_expandLimit = std::atoi(valp); });
[this](const char* valp) { m_expandLimit = std::atoi(valp); });

DECL_OPTION("-F", CbVal, [this, fl, &optdir](const char* valp) {
parseOptsFile(fl, parseFileArg(optdir, valp), true);
Expand Down

0 comments on commit 8f2e4f6

Please sign in to comment.