Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
libpkg: Remove dead code in pkg_jobs_new()
Mark Johnston committed 8 months ago
commit 4f366c4005af44d861aa235886391689c07565a3
parent df79292c0e4c791f1523f8e3a1ae1bb5605b18e3
1 file changed +0 -7
modified libpkg/pkg_jobs.c
@@ -90,14 +90,7 @@ pkg_jobs_new(struct pkg_jobs **j, pkg_jobs_t t, struct pkgdb *db)
	assert(db != NULL);

	*j = xcalloc(1, sizeof(struct pkg_jobs));
-

	(*j)->universe = pkg_jobs_universe_new(*j);
-

-
	if ((*j)->universe == NULL) {
-
		free(*j);
-
		return (EPKG_FATAL);
-
	}
-

	(*j)->db = db;
	(*j)->type = t;
	(*j)->solved = false;