Commit a324fa7b authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: variable was set but never used

parent a9483b1f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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");