pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/add Removed unused variable.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3fc9893711b6
branches: trunk
changeset: 533215:3fc9893711b6
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Sep 11 13:39:05 2007 +0000
description:
Removed unused variable.
diffstat:
pkgtools/pkg_install/files/add/perform.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r e8c529d1ca32 -r 3fc9893711b6 pkgtools/pkg_install/files/add/perform.c
--- a/pkgtools/pkg_install/files/add/perform.c Tue Sep 11 12:33:13 2007 +0000
+++ b/pkgtools/pkg_install/files/add/perform.c Tue Sep 11 13:39:05 2007 +0000
@@ -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 @@
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 @@
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 @@
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);
Home |
Main Index |
Thread Index |
Old Index