[clang-doc] Fix unused variable

Differential Revision: https://reviews.llvm.org/D50709

llvm-svn: 339685
This commit is contained in:
Julie Hockett 2018-08-14 15:38:59 +00:00
parent 52c88a7c0e
commit c84155ff6c
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ template <typename T> bool MapASTVisitor::mapDecl(const T *D) {
return true;
// Skip function-internal decls.
if (const DeclContext *F = D->getParentFunctionOrMethod())
if (D->getParentFunctionOrMethod())
return true;
llvm::SmallString<128> USR;