This revision was automatically updated to reflect the committed changes.
Closed by commit rL339685: [clang-doc] Fix unused variable (authored by 
juliehockett, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D50709?vs=160593&id=160600#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50709

Files:
  clang-tools-extra/trunk/clang-doc/Mapper.cpp


Index: clang-tools-extra/trunk/clang-doc/Mapper.cpp
===================================================================
--- clang-tools-extra/trunk/clang-doc/Mapper.cpp
+++ clang-tools-extra/trunk/clang-doc/Mapper.cpp
@@ -30,7 +30,7 @@
     return true;
 
   // Skip function-internal decls.
-  if (const DeclContext *F = D->getParentFunctionOrMethod())
+  if (D->getParentFunctionOrMethod())
     return true;
 
   llvm::SmallString<128> USR;


Index: clang-tools-extra/trunk/clang-doc/Mapper.cpp
===================================================================
--- clang-tools-extra/trunk/clang-doc/Mapper.cpp
+++ clang-tools-extra/trunk/clang-doc/Mapper.cpp
@@ -30,7 +30,7 @@
     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

Reply via email to