diff options
author | Brad King <brad.king@kitware.com> | 2022-07-20 19:52:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-25 17:51:43 (GMT) |
commit | f95a5832c7ce6e88bd623e818471fa8c23fa77f4 (patch) | |
tree | 59264f579af5b4c07ad21fe07c6101bf03088777 /Source/cmArgumentParser.cxx | |
parent | 9a7efb681331f77a3873bd9fb5694ad46338c0f7 (diff) | |
download | CMake-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.cxx | 3 |
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); } |