Skip to content

Commit

Permalink
[clang-tidy] Remove unused variable (NFC)
Browse files Browse the repository at this point in the history
/llvm-project/clang-tools-extra/clang-tidy/bugprone/NondeterministicPointerIterationOrderCheck.cpp:60:29:
error: unused variable 'AlgoName' [-Werror,-Wunused-variable]
      const llvm::StringRef AlgoName = ClassTemplate->getName();
                            ^
1 error generated.
  • Loading branch information
DamonFool committed Oct 28, 2024
1 parent 09c258e commit e6fcf34
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ void NondeterministicPointerIterationOrderCheck::check(
"recorddecl")) {
const TemplateArgumentList &TemplateArgs =
ClassTemplate->getTemplateArgs();
const llvm::StringRef AlgoName = ClassTemplate->getName();
const bool IsAlgoArgPointer =
TemplateArgs[0].getAsType()->isPointerType();

Expand Down

0 comments on commit e6fcf34

Please sign in to comment.