aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-18 14:04:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-18 14:04:40 +0000
commitdcea109bb5ce1c8afeb0510945eb15e86cfcf1dc (patch)
tree368d27b14ccfb3b3e775da0a8f30bc6f6e188203 /lib/hostip.c
parentd46a573bbedae5fdf402d47ce4bd8e84347c390c (diff)
Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
errors.
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c3
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;
}