Skip to content
Snippets Groups Projects
Commit a324fa7b authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: variable was set but never used

parent a9483b1f
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment