Author: juliehockett Date: Tue Aug 14 08:38:59 2018 New Revision: 339685 URL: http://llvm.org/viewvc/llvm-project?rev=339685&view=rev Log: [clang-doc] Fix unused variable
Differential Revision: https://reviews.llvm.org/D50709 Modified: clang-tools-extra/trunk/clang-doc/Mapper.cpp Modified: clang-tools-extra/trunk/clang-doc/Mapper.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-doc/Mapper.cpp?rev=339685&r1=339684&r2=339685&view=diff ============================================================================== --- clang-tools-extra/trunk/clang-doc/Mapper.cpp (original) +++ clang-tools-extra/trunk/clang-doc/Mapper.cpp Tue Aug 14 08:38:59 2018 @@ -30,7 +30,7 @@ template <typename T> bool MapASTVisitor return true; // Skip function-internal decls. - if (const DeclContext *F = D->getParentFunctionOrMethod()) + if (D->getParentFunctionOrMethod()) return true; llvm::SmallString<128> USR; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits