Switch -Wunused-variable on?

Andreas Schwab schwab@linux-m68k.org
Wed Apr 25 16:50:00 GMT 2012


"Maciej W. Rozycki" <macro@codesourcery.com> writes:

> On Wed, 25 Apr 2012, Andreas Schwab wrote:
>
>> > -- "i" is now live in all cases and also IMHO handle_frobnication is more 
>> > readable.
>> 
>> It also requires an unconditional declaration and definition of
>> target_frobnicate_harder.
>
>  Yes, but do you see at as advantage or disadvantage?

It makes your example non-working as written due to the missing
declaration.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb mailing list