iphlpapi: Drop unneeded continue statements (coccinellery).

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-03-22 08:47:35 +01:00 committed by Alexandre Julliard
parent 5d2aa1eebd
commit 8c79999122
1 changed files with 4 additions and 10 deletions

View File

@ -823,11 +823,8 @@ DWORD WINAPI GetIpStatisticsEx(PMIB_IPSTATS stats, DWORD family)
*ptr='\0';
for (i = 0; i < ARRAY_SIZE(ipstatlist); i++)
if (!strcasecmp(buf, ipstatlist[i].name))
{
if (sscanf(value, "%d", &res)) *ipstatlist[i].elem = res;
continue;
}
if (!strcasecmp(buf, ipstatlist[i].name) && sscanf(value, "%d", &res))
*ipstatlist[i].elem = res;
}
fclose(fp);
ret = NO_ERROR;
@ -1213,11 +1210,8 @@ DWORD WINAPI GetUdpStatisticsEx(PMIB_UDPSTATS stats, DWORD family)
*ptr='\0';
for (i = 0; i < ARRAY_SIZE(udpstatlist); i++)
if (!strcasecmp(buf, udpstatlist[i].name))
{
if (sscanf(value, "%d", &res)) *udpstatlist[i].elem = res;
continue;
}
if (!strcasecmp(buf, udpstatlist[i].name) && sscanf(value, "%d", &res))
*udpstatlist[i].elem = res;
}
fclose(fp);
ret = NO_ERROR;