]> granicus.if.org Git - clang/commitdiff
Remove redundant leftover code.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 29 Jun 2009 17:38:09 +0000 (17:38 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 29 Jun 2009 17:38:09 +0000 (17:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74433 91177308-0d34-0410-b5e6-96231b3b80d8

tools/index-test/index-test.cpp

index 5606e7576690e43f8640e5c3d218db434b530e73..d851f5c90bb62dd1799e8e80cabb4cc221fd68ee 100644 (file)
@@ -125,7 +125,6 @@ int main(int argc, char **argv) {
   
   if (Point.D) {
     llvm::raw_ostream &OS = llvm::outs();
-    assert(Point.D && "If no node was found we should have exited with error");
     OS << "Declaration node at point: " << Point.D->getDeclKindName() << " ";
     if (NamedDecl *ND = dyn_cast<NamedDecl>(Point.D))
       OS << ND->getNameAsString();