Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg_jobs.c: Removed a useless test detected by notnull.cocci.
Alexandre Perrin committed 12 years ago
commit e456d06c0558fc8865c0c570398b756299cab829
parent dec04fb
1 file changed +1 -2
modified libpkg/pkg_jobs.c
@@ -541,8 +541,7 @@ new_pkg_version(struct pkg_jobs *j)

	/* Remove from seen in case it was explicitly requested. */
	HASH_FIND_STR(j->seen, origin, p);
-
	if (p != NULL)
-
		HASH_DEL(j->seen, p);
+
	HASH_DEL(j->seen, p);

end:
	j->flags = old_flags;