lwip-devel
[Top][All Lists]
Advanced

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

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


From: Frédéric BERNON
Subject: RE : RE : [lwip-devel] -Wall -Werror
Date: Fri, 4 Jan 2008 15:09:27 +0100

Ok for me

 
  
====================================
Frédéric BERNON 
HYMATOM SA 
Chef de projet informatique 
Microsoft Certified Professional 
Tél. : +33 (0)4-67-87-61-10 
Fax. : +33 (0)4-67-70-85-44 
Email : address@hidden 
Web Site : http://www.hymatom.fr 
====================================
P Avant d'imprimer, penser à l'environnement
 


-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de Kieran Mansley
Envoyé : vendredi 4 janvier 2008 15:04
À : lwip-devel
Objet : RE : [lwip-devel] -Wall -Werror


On Fri, 2008-01-04 at 14:41 +0100, Frédéric BERNON wrote:
> RCS file: /sources/lwip/lwip/src/core/pbuf.c,v
> retrieving revision 1.125
> diff -u -0 -p -r1.125 pbuf.c
> --- src/core/pbuf.c     25 Nov 2007 13:57:05 -0000      1.125
> +++ src/core/pbuf.c     4 Jan 2008 13:19:04 -0000
> @@ -310 +310 @@ pbuf_realloc(struct pbuf *p, u16_t new_l
> -    mem_realloc(q, (u8_t *)q->payload - (u8_t *)q + rem_len);
> +    (void)mem_realloc(q, (u8_t *)q->payload - (u8_t *)q + rem_len);
> Index: src/include/lwip/api_msg.h

I'd prefer to have something like:

q = mem_realloc(q, (u8_t *)q->payload - (u8_t *)q + rem_len); LWIP_ASSERT(q != 
NULL);

Kieran



_______________________________________________
lwip-devel mailing list
address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-devel

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

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