From 653fb8fe036363dfb550785c45adcf26f6fcbfbc Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 11 Jul 2007 23:36:13 -0400 Subject: Remove 'buildtype' from libalpm and pacman Remove unused buildtype field from pmpkg_t struct and anything associated with it, as it is unused at the moment. If we need to readd it, it is an easy revert of this commit. Signed-off-by: Dan McGee --- src/pacman/package.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/pacman/package.c b/src/pacman/package.c index a30260ae..3a3381fc 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -43,7 +43,7 @@ */ void dump_pkg_full(pmpkg_t *pkg, int level) { - const char *bdate, *type, *idate, *reason, *descheader; + const char *bdate, *idate, *reason, *descheader; if(pkg == NULL) { return; @@ -51,7 +51,6 @@ void dump_pkg_full(pmpkg_t *pkg, int level) /* set variables here, do all output below */ bdate = alpm_pkg_get_builddate(pkg); - type = alpm_pkg_get_buildtype(pkg); idate = alpm_pkg_get_installdate(pkg); switch((long)alpm_pkg_get_reason(pkg)) { @@ -86,7 +85,6 @@ void dump_pkg_full(pmpkg_t *pkg, int level) printf(_("Packager : %s\n"), (char *)alpm_pkg_get_packager(pkg)); printf(_("Architecture : %s\n"), (char *)alpm_pkg_get_arch(pkg)); printf(_("Build Date : %s %s\n"), bdate, strlen(bdate) ? "UTC" : ""); - printf(_("Build Type : %s\n"), strlen(type) ? type : _("Unknown")); if(level > 0) { printf(_("Install Date : %s %s\n"), idate, strlen(idate) ? "UTC" : ""); printf(_("Install Reason : %s\n"), reason); -- cgit v1.2.3-54-g00ecf