iphlpapi: Fixed dead store (llvm/clang).

This commit is contained in:
Ricardo Filipe 2008-11-12 23:38:21 +00:00 committed by Alexandre Julliard
parent ca3d0d67a8
commit c3db26d4bc
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ DWORD WINAPI IcmpSendEcho(
/* Get the reply */ /* Get the reply */
ip_header_len=0; /* because gcc was complaining */ ip_header_len=0; /* because gcc was complaining */
while ((res=poll(&fdr,1,Timeout))>0) { while (poll(&fdr,1,Timeout)>0) {
recv_time = GetTickCount(); recv_time = GetTickCount();
res=recvfrom(icp->sid, (char*)ip_header, maxlen, 0, (struct sockaddr*)&addr,&addrlen); res=recvfrom(icp->sid, (char*)ip_header, maxlen, 0, (struct sockaddr*)&addr,&addrlen);
TRACE("received %d bytes from %s\n",res, inet_ntoa(addr.sin_addr)); TRACE("received %d bytes from %s\n",res, inet_ntoa(addr.sin_addr));