aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.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/transfer.c
parentd46a573bbedae5fdf402d47ce4bd8e84347c390c (diff)
Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
errors.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c9
1 files changed, 6 insertions, 3 deletions
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))