forked from OSchip/llvm-project
[clang-doc] Fix unused variable
Differential Revision: https://reviews.llvm.org/D50709 llvm-svn: 339685
This commit is contained in:
parent
52c88a7c0e
commit
c84155ff6c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue