hexdecoct: drop an unnecessary check

This commit is contained in:
Yu Watanabe 2018-05-11 13:56:28 +09:00
parent aba135249e
commit 9ec578a370
1 changed files with 1 additions and 3 deletions

View File

@ -769,9 +769,7 @@ int unbase64mem(const char *p, size_t l, void **ret, size_t *ret_size) {
*z = 0;
if (ret_size)
*ret_size = (size_t) (z - buf);
*ret_size = (size_t) (z - buf);
*ret = TAKE_PTR(buf);
return 0;