From dcea109bb5ce1c8afeb0510945eb15e86cfcf1dc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Nov 2004 14:04:40 +0000 Subject: Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and errors. --- lib/transfer.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/transfer.c') diff --git a/lib/transfer.c b/lib/transfer.c index 389ed6e16..79ecc02b8 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -697,7 +697,8 @@ CURLcode Curl_readwrite(struct connectdata *conn, /* Find the first non-space letter */ for(start=k->p+13; *start && isspace((int)*start); - start++); + start++) + ; /* empty loop */ end = strchr(start, '\r'); if(!end) @@ -705,7 +706,8 @@ CURLcode Curl_readwrite(struct connectdata *conn, if(end) { /* skip all trailing space letters */ - for(; isspace((int)*end) && (end > start); end--); + for(; isspace((int)*end) && (end > start); end--) + ; /* empty loop */ /* get length of the type */ len = end-start+1; @@ -796,7 +798,8 @@ CURLcode Curl_readwrite(struct connectdata *conn, /* Find the first non-space letter */ for(start=k->p+17; *start && isspace((int)*start); - start++); + start++) + ; /* empty loop */ /* Record the content-encoding for later use */ if (checkprefix("identity", start)) -- cgit v1.2.3