curl_easy_perform: Value stored to 'mcode' is never read

pointed out by clang-analyzer
This commit is contained in:
Daniel Stenberg 2013-02-05 14:09:18 +01:00
Родитель 4cd027f17e
Коммит 0d1b754376
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -457,7 +457,9 @@ CURLcode curl_easy_perform(CURL *easy)
}
}
mcode = curl_multi_remove_handle(multi, easy);
/* ignoring the return code isn't nice, but atm we can't really handle
a failure here, room for future improvement! */
(void)curl_multi_remove_handle(multi, easy);
/* The multi handle is kept alive, owned by the easy handle */
return code;