summaryrefslogtreecommitdiffstats
path: root/Source/cmArgumentParser.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/cmArgumentParser.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/cmArgumentParser.cxx')
-rw-r--r--Source/cmArgumentParser.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmArgumentParser.cxx b/Source/cmArgumentParser.cxx
index fcced96..fafae13 100644
--- a/Source/cmArgumentParser.cxx
+++ b/Source/cmArgumentParser.cxx
@@ -113,9 +113,6 @@ void Instance::FinishKeyword()
this->ParseResults->AddKeywordError(this->Keyword,
" missing required value\n");
}
- if (this->KeywordsMissingValue != nullptr) {
- this->KeywordsMissingValue->emplace_back(this->Keyword);
- }
if (this->Bindings.KeywordMissingValue) {
this->Bindings.KeywordMissingValue(*this, this->Keyword);
}