This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ARI] Status of ATTRIBUTE_UNUSED in gdb sources


On Tue, 04 May 2010 22:58:58 +0200, Pierre Muller wrote:
> > -----Message d'origine-----
> > DeÂ: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la
> > part de Jan Kratochvil
> > recently -Wunused-param would catch a real bug in an Archer patch
> > (missing "bp->thread = tp->num;"):
> > 	http://sourceware.org/ml/archer/2010-q2/msg00017.html
> 
>   Did you really use -Wunused-param to catch this,
> or is it just a case where it could have been useful 
> to have this warning?

I haven't tried to use -Wunused-param; it was spotted just by eyes.


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]