diff options
author | Brad King <brad.king@kitware.com> | 2023-05-22 17:35:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-22 21:16:12 (GMT) |
commit | ce3ec02bb285d551fbf98910cc8c86461501e328 (patch) | |
tree | a9018926e45a17cb96ca313040ae5d75a0be5389 /Utilities | |
parent | 2c27968619df59034af8b36d377d5f56aff3d484 (diff) | |
download | CMake-ce3ec02bb285d551fbf98910cc8c86461501e328.zip CMake-ce3ec02bb285d551fbf98910cc8c86461501e328.tar.gz CMake-ce3ec02bb285d551fbf98910cc8c86461501e328.tar.bz2 |
clang-tidy module: Drop unused variable
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/ClangTidyModule/UsePragmaOnceCheck.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Utilities/ClangTidyModule/UsePragmaOnceCheck.cxx b/Utilities/ClangTidyModule/UsePragmaOnceCheck.cxx index 7a42798..37ecd70 100644 --- a/Utilities/ClangTidyModule/UsePragmaOnceCheck.cxx +++ b/Utilities/ClangTidyModule/UsePragmaOnceCheck.cxx @@ -218,8 +218,6 @@ public: this ->EndIfs[this->Ifndefs[MacroEntry.first.getIdentifierInfo()].first]; - StringRef CurHeaderGuard = - MacroEntry.first.getIdentifierInfo()->getName(); std::vector<FixItHint> FixIts; HeaderSearch& HeaderInfo = this->PP->getHeaderSearchInfo(); |