------- Comment #4 from jakub at gcc dot gnu dot org 2010-06-21 06:11 ------- FYI, this has nothing to do with the new -Wunused-but-set-* warnings, the initialization in the definition isn't counted as set. This is something the old -Wunused-variable warning reports/doesn't report.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44598