fix compiler warning: variable was set but never used

This commit is contained in:
Yang Tse 2010-05-31 16:51:36 +02:00
parent a9483b1f4a
commit a324fa7b97
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@ int test(char *URL)
timeout.tv_usec = 0;
m = curl_multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &max_fdset);
if(m != CURLM_OK) {
fprintf(stderr, "curl_multi_fdset() error\n");
goto test_cleanup;
}
rc = select(max_fdset + 1, &fdread, &fdwrite, &fdexcep, &timeout);
if(rc == -1) {
fprintf(stderr, "select() error\n");