From c6607724cbb244ba58fde5057d23261a315dd232 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 20 Aug 2022 14:19:00 -0400 Subject: [PATCH] Fix clang warning. --- src/V3Options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3Options.cpp b/src/V3Options.cpp index 6aced78e6..f780cf106 100644 --- a/src/V3Options.cpp +++ b/src/V3Options.cpp @@ -1091,8 +1091,8 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char parseOptsFile(fl, parseFileArg(optdir, valp), false); }); DECL_OPTION("-flatten", OnOff, &m_flatten); - DECL_OPTION("-future0", CbVal, [this, fl, &optdir](const char* valp) { addFuture0(valp); }); - DECL_OPTION("-future1", CbVal, [this, fl, &optdir](const char* valp) { addFuture1(valp); }); + DECL_OPTION("-future0", CbVal, [this](const char* valp) { addFuture0(valp); }); + DECL_OPTION("-future1", CbVal, [this](const char* valp) { addFuture1(valp); }); DECL_OPTION("-facyc-simp", FOnOff, &m_fAcycSimp); DECL_OPTION("-fassemble", FOnOff, &m_fAssemble);