File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1623,7 +1623,6 @@ bool CommandLineParser::ParseCommandLineOptions(int argc,
16231623 bool DashDashFound = false ; // Have we read '--'?
16241624 for (int i = FirstArg; i < argc; ++i) {
16251625 Option *Handler = nullptr ;
1626- Option *NearestHandler = nullptr ;
16271626 std::string NearestHandlerString;
16281627 StringRef Value;
16291628 StringRef ArgName = " " ;
@@ -1703,8 +1702,7 @@ bool CommandLineParser::ParseCommandLineOptions(int argc,
17031702 // Otherwise, look for the closest available option to report to the user
17041703 // in the upcoming error.
17051704 if (!Handler && SinkOpts.empty ())
1706- NearestHandler =
1707- LookupNearestOption (ArgName, OptionsMap, NearestHandlerString);
1705+ LookupNearestOption (ArgName, OptionsMap, NearestHandlerString);
17081706 }
17091707
17101708 if (!Handler) {
You can’t perform that action at this time.
0 commit comments