xbps_xasprintf: do not return NULL anymore; remove checks for this.
This commit is contained in:
@ -145,7 +145,6 @@ xbps_init(struct xbps_handle *xhp)
|
||||
|
||||
buf = xbps_xasprintf("repositories = { %s }",
|
||||
xhp->repository);
|
||||
assert(buf);
|
||||
if ((rv = cfg_parse_buf(xhp->cfg, buf)) != 0)
|
||||
return rv;
|
||||
free(buf);
|
||||
|
Reference in New Issue
Block a user