[Bug c/66088] -Wunused-but-set-variable does not regard static variable access in local scope

vshebordaev at mail dot ru gcc-bugzilla@gcc.gnu.org
Sun May 10 09:13:00 GMT 2015


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

Vladimir <vshebordaev at mail dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Vladimir <vshebordaev at mail dot ru> ---
So, this is due to local scope. Ok, it just looks wierd.



More information about the Gcc-bugs mailing list