diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-18 14:04:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-18 14:04:40 +0000 |
commit | dcea109bb5ce1c8afeb0510945eb15e86cfcf1dc (patch) | |
tree | 368d27b14ccfb3b3e775da0a8f30bc6f6e188203 /lib/hostip.c | |
parent | d46a573bbedae5fdf402d47ce4bd8e84347c390c (diff) | |
download | curl-dcea109bb5ce1c8afeb0510945eb15e86cfcf1dc.tar.gz |
Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
errors.
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 7bb8c966c..fc72cb8c3 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -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; } |