Catch unused but set variables

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.

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
reasons...

Okay, I just wanted to confirm that.