mirror of
https://github.com/curl/curl.git
synced 2026-07-29 20:08:12 +03:00
Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
errors.
This commit is contained in:
parent
d46a573bbe
commit
dcea109bb5
4 changed files with 14 additions and 9 deletions
|
|
@ -174,7 +174,8 @@ void Curl_global_host_cache_dtor(void)
|
|||
int Curl_num_addresses(const Curl_addrinfo *addr)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; addr; addr = addr->ai_next, i++);
|
||||
for (i = 0; addr; addr = addr->ai_next, i++)
|
||||
; /* empty loop */
|
||||
return i;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue