hexdecoct: drop an unnecessary check

This commit is contained in:
Yu Watanabe
2018-05-11 14:36:36 +09:00
parent aba135249e
commit 9ec578a370
+1 -3
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;