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

@ -269,9 +269,6 @@ parse_array_in_pkg_dictionary(FILE *f, prop_dictionary_t plistd,
if (strcmp(keyname, optional_objs[x]) == 0) {
optnode = xbps_xasprintf("[style=\"%s\"",
cfprop);
if (optnode == NULL)
die("alloc optnode");
break;
}
}
@ -495,8 +492,6 @@ main(int argc, char **argv)
*/
if (outfile == NULL) {
outfile = xbps_xasprintf("%s.dot", argv[0]);
if (outfile == NULL)
die("alloc outfile");
}
/*