https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97398

--- Comment #3 from Ulrich Windl <Ulrich.Windl at rz dot uni-regensburg.de> ---
(In reply to Eric Gallager from comment #2)
> would this go under one of the existing -Wunused flags, or a new one?

I think it's a case of being an unused value set to a variable in general, but
more specifically it's setting a value more than once before possibly being
used (which is the case in my code).  SO IMHO the question is whether setting a
variable more than once without being read in between is a special case of
setting a variable value without using it.

Reply via email to