- To: ecos-discuss@xxxxxxxxxxxxxxxxxx
- Subject: Re: Question about unused 'netmask' var in bootp_support.c
- From: Grant Edwards <grant.b.edwards@xxxxxxxxx>
- Date: Thu, 8 Mar 2012 15:03:01 +0000 (UTC)
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- User-agent: slrn/pre0.9.9-102 (Linux)
On 2012-03-08, Lange, Bert <b.lange@xxxxxxx> wrote:
> Hello Edward,
>
>> Can I just remove the declaration of netmask at line 452, and remove
>> line 484 entirely? Or is this an actual bug because netmask is
>> supposed to be used for something?
> I would remove it.
That's what I've decided to do.
I'm also addressing similar warnings in other files.
Variables that are never referenced at all are being removed.
Variables that are set but then only referenced in conditionally
compiled code are being declared with gcc's "unused" attribute.
--
Grant Edwards grant.b.edwards Yow! Did YOU find a
at DIGITAL WATCH in YOUR box
gmail.com of VELVEETA?
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
[Linux Embedded]
[U-Boot V2]
[Linux Kernel]
[Linux MIPS]
[Linux ARM]
[Linux for the Blind]
[Linux Resources]
[Photo]
[Yosemite]
[ISDN Cause Codes]
[ECOS Home]
[Site Home]