<div dir="ltr">Any reason not to remove the story instead?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 2, 2016 at 1:36 PM, Apelete Seketeli via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">apelete created this revision.<br>
apelete added a reviewer: akyrtzi.<br>
apelete added a subscriber: cfe-commits.<br>
<br>
This fixes dead store warnings of the type "dead assignment" reported<br>
by CLang Static Analyzer on the following file:<br>
<br>
- tools/c-index-test/c-index-test.c.<br>
<br>
Signed-off-by: Apelete Seketeli <<a href="mailto:apelete@seketeli.net">apelete@seketeli.net</a>><br>
<br>
<a href="http://reviews.llvm.org/D19831" rel="noreferrer" target="_blank">http://reviews.llvm.org/D19831</a><br>
<br>
Files:<br>
  tools/c-index-test/c-index-test.c<br>
<br>
Index: tools/c-index-test/c-index-test.c<br>
===================================================================<br>
--- tools/c-index-test/c-index-test.c<br>
+++ tools/c-index-test/c-index-test.c<br>
@@ -1436,6 +1436,7 @@<br>
     unsigned RecordIsAnonymous = 0;<br>
     if (clang_getCursorKind(cursor) == CXCursor_FieldDecl) {<br>
       Record = Parent = p;<br>
+      (void) Record;<br>
       do {<br>
         Record = Parent;<br>
         Parent = clang_getCursorSemanticParent(Record);<br>
<br>
<br>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>