[PATCH] D19831: [scan-build] fix dead store warnings emitted on clang code base
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Tue May 3 13:01:12 PDT 2016
dblaikie accepted this revision.
dblaikie added a reviewer: dblaikie.
This revision is now accepted and ready to land.
================
Comment at: tools/c-index-test/c-index-test.c:1435-1436
@@ -1434,3 +1434,4 @@
/* recurse to get the first parent record that is not anonymous. */
- CXCursor Parent, Record;
+ CXCursor Record;
+ CXCursor Parent = p;
unsigned RecordIsAnonymous = 0;
----------------
Could you move these two declarations into the if (1438) since they appear to only be used within that scope anyway?
http://reviews.llvm.org/D19831
More information about the cfe-commits
mailing list