summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-11 13:39:05 +0000
committerrillig <rillig@pkgsrc.org>2007-09-11 13:39:05 +0000
commit6a27b7d10c0e1189f5c28900826c9be17b470184 (patch)
tree5c8a5b66c8d190f8f49ee5993e0e67feff9252c6 /pkgtools
parente3b68da0ff0fe543fcdd40478c1a41c124b5b121 (diff)
downloadpkgsrc-6a27b7d10c0e1189f5c28900826c9be17b470184.tar.gz
Removed unused variable.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/add/perform.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c
index d630be9f7c9..77cbc709aac 100644
--- a/pkgtools/pkg_install/files/add/perform.c
+++ b/pkgtools/pkg_install/files/add/perform.c
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.62 2007/09/11 12:33:13 rillig Exp $ */
+/* $NetBSD: perform.c,v 1.63 2007/09/11 13:39:05 rillig Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -14,7 +14,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.62 2007/09/11 12:33:13 rillig Exp $");
+__RCSID("$NetBSD: perform.c,v 1.63 2007/09/11 13:39:05 rillig Exp $");
#endif
#endif
@@ -385,7 +385,6 @@ pkg_do(const char *pkg, lpkg_head_t *pkgs)
char replace_to[MaxPathSize];
char *buildinfo[BI_ENUM_COUNT];
int replacing = 0;
- char *where_to;
char dbdir[MaxPathSize];
const char *exact;
const char *tmppkg;
@@ -421,7 +420,6 @@ pkg_do(const char *pkg, lpkg_head_t *pkgs)
if (Home == NULL) {
warnx("unable to fetch `%s' by URL", pkg);
}
- where_to = Home;
/* make sure the pkg is verified */
if (!verify(pkg)) {
@@ -451,7 +449,6 @@ pkg_do(const char *pkg, lpkg_head_t *pkgs)
if (!Home)
warnx("unable to make playpen for %ld bytes",
(long) (sb.st_size * 4));
- where_to = Home;
result = unpack(pkg, &files);
while ((lfp = TAILQ_FIRST(&files)) != NULL) {
TAILQ_REMOVE(&files, lfp, lf_link);