------- Comment #4 from dodji at gcc dot gnu dot org 2010-05-17 13:54 ------- Created an attachment (id=20681) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20681&action=view) Don't warn for integral constants
Jakub, this one line patch implements the first idea which is to not warn for integral constants, as far as Wunused_but_set_variable is concerned. I have tested it only for the reported error case. I haven't regtested it yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44108