Silenced a compiler warning about an unused variable

This commit is contained in:
Dan Fandrich 2011-10-19 21:18:52 -07:00
parent 8036da870c
commit cf0f6729e7
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,6 @@ struct WriteThis {
static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
{
struct WriteThis *pooh = (struct WriteThis *)userp;
#ifdef LIB587
(void)ptr;
(void)size;
@ -50,6 +48,8 @@ static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
return CURL_READFUNC_ABORT;
#else
struct WriteThis *pooh = (struct WriteThis *)userp;
if(size*nmemb < 1)
return 0;