Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg_jobs_universe_get_local() can return NULL, not sure how to handle it here.
Bryan Drewery committed 11 years ago
commit ac9673d0229288faf86c3c99039b25ade9aa414e
parent a423e5e
1 file changed +2 -0
modified libpkg/pkg_jobs_universe.c
@@ -749,6 +749,8 @@ pkg_jobs_universe_change_uid(struct pkg_jobs_universe *universe,
			found = pkg_jobs_universe_find(universe, rd->uid);
			if (found == NULL) {
				lp = pkg_jobs_universe_get_local(universe, rd->uid, 0);
+
				/* XXX */
+
				assert(lp != NULL);
				pkg_jobs_universe_process_item(universe, lp, &found);
			}