Removed <warning: potential uninitialized reference to

"buf" in function "lwip_recvfrom">
This commit is contained in:
goldsimon 2007-10-09 19:29:54 +00:00
parent 8980c3f74e
commit c1c9983cfe

View File

@ -396,7 +396,7 @@ lwip_recvfrom(int s, void *mem, int len, unsigned int flags,
if (!sock)
return -1;
while ( !done ) {
do {
LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom: top while sock->lastdata=%p\n", sock->lastdata));
/* Check if there is data left from the last recv operation. */
if (sock->lastdata) {
@ -466,7 +466,7 @@ lwip_recvfrom(int s, void *mem, int len, unsigned int flags,
} else {
done = 1;
}
} /* while ( !done ) */
} while (!done);
/* Check to see from where the data was.*/
if (from && fromlen) {