Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and

errors.
This commit is contained in:
Daniel Stenberg
2004-11-18 14:04:40 +00:00
parent d46a573bbe
commit dcea109bb5
4 changed files with 14 additions and 9 deletions

View File

@@ -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))