Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
libpkg: Remove an always-true check
Mark Johnston committed 3 years ago
commit bc9b2908ae8e345dcc1ff16d9e3b095ab1219609
parent 62e6287
1 file changed +0 -5
modified libpkg/pkg_add.c
@@ -69,11 +69,6 @@ attempt_to_merge(int rootfd, struct pkg_config_file *rcf, struct pkg *local,
	off_t sz;
	char *localsum;

-
	if (rcf == NULL) {
-
		pkg_debug(3, "No remote config file");
-
		return;
-
	}
-

	if (local == NULL) {
		pkg_debug(3, "No local package");
		if (fstatat(rootfd, RELATIVE_PATH(rcf->path), &st, 0) == 0) {