[RFC/PATCH] Clean up unused variables (and prepare for `-Wunused-variable' flag)

Tom Tromey tromey@redhat.com
Tue Apr 24 17:49:00 GMT 2012


>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:

Sergio> a) How's the ChangeLog for this patch supposed to be?  Can I make a
Sergio> "generic" ChangeLog, saying something like `Remove unused variables from
Sergio> files'?

I'm afraid I will leave that question for someone who cares a bit more.
Sorry about that.

Sergio>  gdb/features/rs6000/powerpc-32.c         |    1 -

All these files are generated by some code in gdb/target-descriptions.c.
gdb/features/Makefile uses 'maint print c-tdesc' to create them.
So, you'll have to fix the generator instead.

Tom



More information about the Gdb-patches mailing list