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("-error-limit", CbVal, static_cast<void (*)(int)>(&V3Error::errorLimit));
|
||||||
DECL_OPTION("-exe", OnOff, &m_exe);
|
DECL_OPTION("-exe", OnOff, &m_exe);
|
||||||
DECL_OPTION("-expand-limit", CbVal,
|
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) {
|
DECL_OPTION("-F", CbVal, [this, fl, &optdir](const char* valp) {
|
||||||
parseOptsFile(fl, parseFileArg(optdir, valp), true);
|
parseOptsFile(fl, parseFileArg(optdir, valp), true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue