Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix warning about using potentially uninitialized variables
Baptiste Daroussin committed 9 years ago
commit 57a9754b502ec943d757b95d1ee114aaf1be3dfc
parent eda062d
1 file changed +3 -0
modified libpkg/pkg_jobs_universe.c
@@ -258,6 +258,9 @@ pkg_jobs_universe_process_deps(struct pkg_jobs_universe *universe,
	pkg_chain_t *rpkgs = NULL;
	bool found = false;

+
	rpkg = NULL;
+
	rc = EPKG_OK;
+

	if (flags & DEPS_FLAG_REVERSE) {
		deps_func = pkg_rdeps;
	}