Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
ports: remove dead code
Baptiste Daroussin committed 2 years ago
commit a6530baa7cd6b5faa1e6151f1b318d9efd8518cb
parent b4ae5a2aca9be621bf3c6a6961fee13b93c11e6a
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) {