[cfe-users] Catch unused but set variables

David Blaikie dblaikie at gmail.com
Thu Jun 26 08:15:13 PDT 2014

I don't believe we have any warnings like that yet. I'd really love a
generalized (& low false positive) dead store warning for a lot of

On Thu, Jun 26, 2014 at 6:53 AM, David kiarie <davidkiarie4 at gmail.com> wrote:
> Hi there,
> I would like to know whether there is a way to catch set but unused
> variables using clang, something like gcc's
> -Werror=unused-but-set-parameter.
> Regards,
> David.
> _______________________________________________
> cfe-users mailing list
> cfe-users at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

More information about the cfe-users mailing list