summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-07-20 19:52:45 (GMT)
committerBrad King <brad.king@kitware.com>2022-07-25 17:51:43 (GMT)
commitf95a5832c7ce6e88bd623e818471fa8c23fa77f4 (patch)
tree59264f579af5b4c07ad21fe07c6101bf03088777 /Source/cmFileCommand.cxx
parent9a7efb681331f77a3873bd9fb5694ad46338c0f7 (diff)
downloadCMake-f95a5832c7ce6e88bd623e818471fa8c23fa77f4.zip
CMake-f95a5832c7ce6e88bd623e818471fa8c23fa77f4.tar.gz
CMake-f95a5832c7ce6e88bd623e818471fa8c23fa77f4.tar.bz2
cmArgumentParser: Drop unused keywordsMissingValue argument to Parse()
All clients have been converted to encoding this requirement in their bindings.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index c7ba424..987f40e 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -2498,9 +2498,8 @@ bool HandleGenerateCommand(std::vector<std::string> const& args,
std::vector<std::string> unparsedArguments;
std::vector<cm::string_view> parsedKeywords;
- Arguments const arguments =
- parser.Parse(cmMakeRange(args).advance(1), &unparsedArguments,
- /*keywordsMissingValue=*/nullptr, &parsedKeywords);
+ Arguments const arguments = parser.Parse(
+ cmMakeRange(args).advance(1), &unparsedArguments, &parsedKeywords);
if (arguments.MaybeReportError(status.GetMakefile())) {
return true;