public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Switch -Wunused-variable on?
@ 2012-04-22  8:06 Sergio Durigan Junior
  2012-04-22  8:23 ` Jan Kratochvil
  0 siblings, 1 reply; 17+ messages in thread
From: Sergio Durigan Junior @ 2012-04-22  8:06 UTC (permalink / raw)
  To: gdb

Hello,

While doing something else, I decided to enable the -Wunused-variable
option and... bummer.  So I decided to prepare a patch to fix this,
because there are *many* places with unused variables.

However, before continuing to prepare this patch, I would like what you
think about enabling -Wunused-variable by default in the building.  I am
not sure I can foresee something wrong with it, but maybe others have
some different opinions.

Thanks,

-- 
Sergio

P.S.: I couldn't find any real discussion about this on the list
archives, but please excuse me if this has been already discussed.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-04-25 18:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-22  8:06 Switch -Wunused-variable on? Sergio Durigan Junior
2012-04-22  8:23 ` Jan Kratochvil
2012-04-22 20:25   ` Sergio Durigan Junior
2012-04-22 22:25     ` Jeffrey Walton
2012-04-23  8:55       ` Jan Kratochvil
2012-04-23 14:30     ` Tom Tromey
2012-04-23 15:49       ` Sergio Durigan Junior
2012-04-23 18:02         ` Pedro Alves
2012-04-23 18:39           ` Michael Eager
2012-04-24 22:11       ` Maciej W. Rozycki
2012-04-25  7:51         ` Andreas Schwab
2012-04-25 15:57           ` Maciej W. Rozycki
2012-04-25 16:50             ` Andreas Schwab
2012-04-25 17:22               ` Maciej W. Rozycki
2012-04-25 18:13                 ` Andreas Schwab
2012-04-25 18:20                   ` Sterling Augustine
2012-04-25 18:52                     ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).