Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
manifest: remove write only variable
Baptiste Daroussin committed 4 years ago
commit a0da0581f2570c9763e8777d481a9c58d17a35ef
parent 3fdd5e1
1 file changed +0 -7
modified libpkg/pkg_manifest.c
@@ -990,7 +990,6 @@ pkg_emit_object(struct pkg *pkg, short flags)
	struct pkg_conflict	*conflict = NULL;
	struct pkg_config_file	*cf       = NULL;
	xstring		*tmpsbuf  = NULL;
-
	char			*buf;
	int i;
	const char *script_types = NULL;
	char legacyarch[BUFSIZ];
@@ -1105,7 +1104,6 @@ pkg_emit_object(struct pkg *pkg, short flags)

	pkg_debug(4, "Emitting users");
	seq = NULL;
-
	buf = NULL;
	it = pkghash_iterator(pkg->users);
	while (pkghash_next(&it)) {
		if (seq == NULL)
@@ -1117,7 +1115,6 @@ pkg_emit_object(struct pkg *pkg, short flags)

	pkg_debug(4, "Emitting groups");
	seq = NULL;
-
	buf = NULL;
	it = pkghash_iterator(pkg->users);
	while (pkghash_next(&it)) {
		if (seq == NULL)
@@ -1129,7 +1126,6 @@ pkg_emit_object(struct pkg *pkg, short flags)

	pkg_debug(4, "Emitting required");
	seq = NULL;
-
	buf = NULL;
	it = pkghash_iterator(pkg->shlibs_required);
	while (pkghash_next(&it)) {
		if (seq == NULL)
@@ -1141,7 +1137,6 @@ pkg_emit_object(struct pkg *pkg, short flags)

	pkg_debug(4, "Emitting shlibs_provided");
	seq = NULL;
-
	buf = NULL;
	it = pkghash_iterator(pkg->shlibs_provided);
	while (pkghash_next(&it)) {
		if (seq == NULL)
@@ -1163,7 +1158,6 @@ pkg_emit_object(struct pkg *pkg, short flags)

	pkg_debug(4, "Emitting provides");
	seq = NULL;
-
	buf = NULL;
	it = pkghash_iterator(pkg->provides);
	while (pkghash_next(&it)) {
		if (seq == NULL)
@@ -1175,7 +1169,6 @@ pkg_emit_object(struct pkg *pkg, short flags)

	pkg_debug(4, "Emitting requires");
	seq = NULL;
-
	buf = NULL;
	it = pkghash_iterator(pkg->requires);
	while (pkghash_next(&it)) {
		if (seq == NULL)