mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:23:39 +03:00
examples: remove unused variables
Fixes Codacy/CppCheck warnings. Closes
This commit is contained in:
parent
528b284e4b
commit
b069815a7a
12 changed files with 26 additions and 35 deletions
|
|
@ -90,7 +90,6 @@ static CURLcode my_conv_from_utf8_to_ebcdic(char *buffer, size_t length)
|
|||
int main(void)
|
||||
{
|
||||
CURL *curl;
|
||||
CURLcode res;
|
||||
|
||||
curl = curl_easy_init();
|
||||
if(curl) {
|
||||
|
|
@ -104,7 +103,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_CONV_FROM_UTF8_FUNCTION,
|
||||
my_conv_from_utf8_to_ebcdic);
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
curl_easy_perform(curl);
|
||||
|
||||
/* always cleanup */
|
||||
curl_easy_cleanup(curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue