unit1302.c drop redundant result casts

This commit is contained in:
Viktor Szakats 2026-03-07 16:53:01 +01:00
parent d0377cf134
commit dc8b2bb85d
No known key found for this signature in database

View file

@ -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++;
}
}