Silence compiler warning 'unused parameter running_handles' in function multi_runsingle(). This is done here returning multi->num_alive in the running_handles parameter even when functions that call multi_runsingle() at this moment overwrite the returned value with the one that is valid when those functions curl_multi_perform() and multi_socket() have removed expired timers from the splay. Most probably, parameter 'running_handles' in function multi_runsingle() should be just removed.

This commit is contained in:
Yang Tse 2006-08-03 11:41:49 +00:00
parent 159834171e
commit d211fcd34f
1 changed files with 1 additions and 0 deletions

View File

@ -935,6 +935,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
multi->num_msgs++; /* increase message counter */
}
*running_handles = multi->num_alive;
return result;
}