summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2005-11-23 14:33:50 +0000
committerben <ben@pkgsrc.org>2005-11-23 14:33:50 +0000
commit8926549f0081f0938d2781927a94991d0e677181 (patch)
tree7229b76603c73be42363475fefc525cfa32fdf89 /pkgtools/pkg_install
parent861229434a3b90aeba8a394110ee0bcd3a9d3aa4 (diff)
downloadpkgsrc-8926549f0081f0938d2781927a94991d0e677181.tar.gz
Sync with src. Remove unused variable argc from apply_perms().
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/add/futil.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/add/futil.c b/pkgtools/pkg_install/files/add/futil.c
index e2810f94bb6..8f6e9dbd37f 100644
--- a/pkgtools/pkg_install/files/add/futil.c
+++ b/pkgtools/pkg_install/files/add/futil.c
@@ -1,4 +1,4 @@
-/* $NetBSD: futil.c,v 1.7 2005/11/22 15:44:59 ben Exp $ */
+/* $NetBSD: futil.c,v 1.8 2005/11/23 14:33:50 ben Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -11,7 +11,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: futil.c,v 1.7 1997/10/08 07:45:39 charnier Exp";
#else
-__RCSID("$NetBSD: futil.c,v 1.7 2005/11/22 15:44:59 ben Exp $");
+__RCSID("$NetBSD: futil.c,v 1.8 2005/11/23 14:33:50 ben Exp $");
#endif
#endif
@@ -87,7 +87,6 @@ apply_perms(char *dir, char **args, int nargs)
char *cd_to;
char owner_group[128];
const char **argv;
- int argc = 0;
int i;
argv = malloc((nargs + 4) * sizeof(char *));