Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove an unused string
Baptiste Daroussin committed 6 years ago
commit 2304209ec94d25c3859f714e40f6e6832ee62644
parent 8ca261b
2 files changed +0 -6
modified libpkg/pkg_ports.c
@@ -1205,8 +1205,6 @@ plist_new(struct pkg *pkg, const char *stage)
	utstring_new(p->post_install_buf);
	utstring_new(p->pre_deinstall_buf);
	utstring_new(p->post_deinstall_buf);
-
	utstring_new(p->pre_upgrade_buf);
-
	utstring_new(p->post_upgrade_buf);
	p->hardlinks = kh_init_hardlinks();

	populate_keywords(p);
@@ -1234,10 +1232,8 @@ plist_free(struct plist *p)

	utstring_free(p->post_deinstall_buf);
	utstring_free(p->post_install_buf);
-
	utstring_free(p->post_upgrade_buf);
	utstring_free(p->pre_deinstall_buf);
	utstring_free(p->pre_install_buf);
-
	utstring_free(p->pre_upgrade_buf);

	free(p);
}
modified libpkg/private/pkg.h
@@ -606,8 +606,6 @@ struct plist {
	UT_string *post_install_buf;
	UT_string *pre_deinstall_buf;
	UT_string *post_deinstall_buf;
-
	UT_string *pre_upgrade_buf;
-
	UT_string *post_upgrade_buf;
	struct pkg *pkg;
	char *uname;
	char *gname;