xbps_xasprintf: do not return NULL anymore; remove checks for this.

This commit is contained in:
Juan RP
2012-11-11 09:37:27 +01:00
parent 0ab60b24c5
commit d6735d5685
27 changed files with 4 additions and 143 deletions

View File

@@ -70,7 +70,6 @@ ATF_TC_BODY(find_virtualpkg_dict_installed_test, tc)
/* get test source dir */
tcsdir = atf_tc_get_config_var(tc, "srcdir");
cffile = xbps_xasprintf("%s/xbps.conf", tcsdir);
ATF_REQUIRE(cffile != NULL);
/* initialize xbps */
memset(&xh, 0, sizeof(xh));