Module: wine Branch: master Commit: c3db26d4bcee7f3f3fe8bedc697a50f1fe590852 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c3db26d4bcee7f3f3fe8bedc69...
Author: Ricardo Filipe ricardo_barbano@hotmail.com Date: Wed Nov 12 23:38:21 2008 +0000
iphlpapi: Fixed dead store (llvm/clang).
---
dlls/iphlpapi/icmp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/iphlpapi/icmp.c b/dlls/iphlpapi/icmp.c index 3abdbba..a5858ca 100644 --- a/dlls/iphlpapi/icmp.c +++ b/dlls/iphlpapi/icmp.c @@ -339,7 +339,7 @@ DWORD WINAPI IcmpSendEcho(
/* Get the reply */ ip_header_len=0; /* because gcc was complaining */ - while ((res=poll(&fdr,1,Timeout))>0) { + while (poll(&fdr,1,Timeout)>0) { recv_time = GetTickCount(); 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));