hexdecoct: drop an unnecessary check
This commit is contained in:
parent
aba135249e
commit
9ec578a370
|
@ -769,9 +769,7 @@ int unbase64mem(const char *p, size_t l, void **ret, size_t *ret_size) {
|
||||||
|
|
||||||
*z = 0;
|
*z = 0;
|
||||||
|
|
||||||
if (ret_size)
|
*ret_size = (size_t) (z - buf);
|
||||||
*ret_size = (size_t) (z - buf);
|
|
||||||
|
|
||||||
*ret = TAKE_PTR(buf);
|
*ret = TAKE_PTR(buf);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue