Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
jobs: remove needless variable assignement
Baptiste Daroussin committed 2 years ago
commit 80bc3499caa244e5ca630adc59e6be0cc82c13b5
parent 314d3cb
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -963,7 +963,7 @@ pkg_jobs_find_upgrade(struct pkg_jobs *j, const char *pattern, match_t m)
	struct pkg_job_universe_item *unit = NULL;

	if ((it = pkgdb_repo_query(j->db, pattern, m, j->reponame)) == NULL)
-
		rc = EPKG_FATAL;
+
		return (rc);

	/*
	 * MATCH_EXACT is handled at a higher level, so that we can complain if a