Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
ports: remove dead code
Baptiste Daroussin committed 2 years ago
commit a6530baa7cd6b5faa1e6151f1b318d9efd8518cb
parent b4ae5a2
1 file changed +0 -3
modified libpkg/pkg_ports.c
@@ -1007,9 +1007,6 @@ plist_new(struct pkg *pkg, const char *stage)
	struct plist *p;

	p = xcalloc(1, sizeof(struct plist));
-
	if (p == NULL)
-
		return (NULL);
-

	p->plistdirfd = -1;
	p->stagefd = open(stage ? stage : "/", O_DIRECTORY | O_CLOEXEC);
	if (p->stagefd == -1) {