Removed unused variable [NFC]

The compiler warned:
../tools/clang/lib/StaticAnalyzer/Core/RetainSummaryManager.cpp:329:19: error: unused variable 'MD' [-Werror,-Wunused-variable]
  if (const auto *MD = dyn_cast<CXXMethodDecl>(FD)) {
                  ^
1 error generated.

llvm-svn: 340524
This commit is contained in:
Mikael Holmen 2018-08-23 10:59:49 +00:00
parent 1326145fdd
commit 9f356ddec8
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ RetainSummaryManager::generateSummary(const FunctionDecl *FD,
}
}
if (const auto *MD = dyn_cast<CXXMethodDecl>(FD)) {
if (dyn_cast<CXXMethodDecl>(FD)) {
// Stop tracking arguments passed to C++ methods, as those might be
// wrapping smart pointers.