fix compiler warning

This commit is contained in:
Yang Tse
2010-11-08 04:03:11 +01:00
parent 1171bc5c8a
commit dc3e7df1c9
8 changed files with 14 additions and 13 deletions

View File

@@ -634,7 +634,7 @@ CURL *curl_easy_duphandle(CURL *incurl)
if(NULL == outcurl)
return NULL; /* failure */
do {
for(;;) {
/*
* We setup a few buffers we need. We should probably make them
@@ -720,8 +720,9 @@ CURL *curl_easy_duphandle(CURL *incurl)
outcurl->magic = CURLEASY_MAGIC_NUMBER;
fail = FALSE; /* we reach this point and thus we are OK */
break;
} while(0);
}
if(fail) {
if(outcurl) {