mirror of
https://github.com/curl/curl.git
synced 2026-04-15 10:31:41 +03:00
unit1302.c drop redundant result casts
This commit is contained in:
parent
d0377cf134
commit
dc8b2bb85d
1 changed files with 2 additions and 3 deletions
|
|
@ -144,8 +144,7 @@ static CURLcode test_unit1302(const char *arg)
|
|||
/* then verify decode */
|
||||
result = curlx_base64_decode(e->output, &decoded, &dlen);
|
||||
if(result != CURLE_OK) {
|
||||
curl_mfprintf(stderr, "Test %u URL decode returned %d\n", i,
|
||||
(int)result);
|
||||
curl_mfprintf(stderr, "Test %u URL decode returned %d\n", i, result);
|
||||
unitfail++;
|
||||
}
|
||||
if(dlen != e->ilen) {
|
||||
|
|
@ -191,7 +190,7 @@ static CURLcode test_unit1302(const char *arg)
|
|||
if(result != CURLE_BAD_CONTENT_ENCODING) {
|
||||
curl_mfprintf(stderr, "Test %u URL bad decoded badly. "
|
||||
"Returned '%d', expected '%d'\n",
|
||||
i, (int)result, CURLE_BAD_CONTENT_ENCODING);
|
||||
i, result, CURLE_BAD_CONTENT_ENCODING);
|
||||
unitfail++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue