mirror of
https://github.com/verilator/verilator.git
synced 2025-04-16 01:26:54 +00:00
Fix clang warning.
This commit is contained in:
parent
2158a4573e
commit
8f2e4f6bb0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user