[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27851] TCP_EVENT_RECV(pcb, NULL, ...) results in unre
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #27851] TCP_EVENT_RECV(pcb, NULL, ...) results in unreachable code warning |
Date: |
Thu, 29 Oct 2009 18:08:04 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 |
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] [bug #27851] TCP_EVENT_RECV(pcb, NULL, ...) results in unreachable code warning,
Simon Goldschmidt <=