diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-08-13 13:52:05 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-08-13 13:52:23 (GMT) |
commit | 9ab15fa74aeec42adef00aae8c4ee5a5ffabdf70 (patch) | |
tree | 25ba17a1d457a7a5c2b15415ffdd31b63d1a5c38 /Source/cmake.cxx | |
parent | 9e9766d85cc81ba22819dec2d543da2565f2c04b (diff) | |
parent | 27090096ef3dc572515c23e2ec92e5ee19432950 (diff) | |
download | CMake-9ab15fa74aeec42adef00aae8c4ee5a5ffabdf70.zip CMake-9ab15fa74aeec42adef00aae8c4ee5a5ffabdf70.tar.gz CMake-9ab15fa74aeec42adef00aae8c4ee5a5ffabdf70.tar.bz2 |
Merge topic 'cmRemoveQuotes'
27090096ef cmStringAlgorithms: Add cmRemoveQuotes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3665
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index a126d62..af73c8d 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2270,14 +2270,6 @@ void cmake::TruncateOutputLog(const char* fname) } } -inline std::string removeQuotes(const std::string& s) -{ - if (s.front() == '\"' && s.back() == '\"') { - return s.substr(1, s.size() - 2); - } - return s; -} - void cmake::MarkCliAsUsed(const std::string& variable) { this->UsedCliVariables[variable] = true; |