lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE : RE : [lwip-devel] -Wall -Werror


From: Jonathan Larmour
Subject: Re: RE : RE : [lwip-devel] -Wall -Werror
Date: Fri, 04 Jan 2008 14:17:54 +0000
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

Frédéric BERNON wrote:
> 
> Yes. I also have these warnings, and I wonder if this is just a wrong warning 
> or a real error (you can translate like "used but can be uninitialized"):
> 
> c:\opensource\lwip\lwip\src\core\snmp\msg_in.c(267) : warning C4701: variable 
> locale 'np' potentiellement non initialisée utilisée
> c:\opensource\lwip\lwip\src\core\snmp\msg_in.c(638) : warning C4701: variable 
> locale 'np' potentiellement non initialisée utilisée 

Those are just wrong warnings. Silencing the warning (with no code penalty)
is not too hard with just a little code reorganisation - moving a block of
code further up to where np and mn are set.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]