URL:
<
http://savannah.nongnu.org/bugs/?27851>
Summary: TCP_EVENT_RECV(pcb, NULL,...) results in
unreachable code warning
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: goldsimon
Submitted on: Do 29 Okt 2009 18:08:03 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: 1.3.1
_______________________________________________________
Details:
From Iordan Neshev on lwip-devel (29-10-2009):
*line 337:
TCP_EVENT_RECV(pcb, NULL, ERR_OK, err);
A note may be added:
/* the NULL argument causes compiler warning (unreachable code)
that can be safely ignored */
I spent some time to find out why this happens. May be helpful
for somebody.
_______________________________________________________
Reply to this item at:
<
http://savannah.nongnu.org/bugs/?27851>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/_______________________________________________
lwip-devel mailing list
lwip-devel@...
http://lists.nongnu.org/mailman/listinfo/lwip-devel