[PATCH] D19831: [scan-build] fix dead store warnings emitted on clang code base

Apelete Seketeli via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 23:37:24 PDT 2016


apelete added a comment.

In http://reviews.llvm.org/D19831#419456, @dblaikie wrote:

> Sorry, I meant remove the /store/, if it's dead. The do/while loop
>  overwrites the store immediately, so just remove the assignment to Record?


Makes sense, I overlooked that. Will fix in next revision.


http://reviews.llvm.org/D19831





More information about the cfe-commits mailing list