[cfe-commits] r160974 - /cfe/trunk/tools/c-index-test/c-index-test.c

Dmitri Gribenko gribozavr at gmail.com
Mon Jul 30 11:00:35 PDT 2012


Author: gribozavr
Date: Mon Jul 30 13:00:35 2012
New Revision: 160974

URL: http://llvm.org/viewvc/llvm-project?rev=160974&view=rev
Log:
c-index-test: remove dead store.  Found by Clang static analyzer!

Modified:
    cfe/trunk/tools/c-index-test/c-index-test.c

Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=160974&r1=160973&r2=160974&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Mon Jul 30 13:00:35 2012
@@ -2386,7 +2386,6 @@
     return 1;
   }
   idxAction = 0;
-  result = 1;
 
   index_data.check_prefix = check_prefix;
   index_data.first_check_printed = 0;





More information about the cfe-commits mailing list