summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorben <ben>2005-11-23 14:33:50 +0000
committerben <ben>2005-11-23 14:33:50 +0000
commitc722df1378d3d797d6908a3305c7b2ea5733a56e (patch)
tree7229b76603c73be42363475fefc525cfa32fdf89 /pkgtools/pkg_install
parent6f9e56af6ddbcc8d527b99f309c14767a38b96c1 (diff)
downloadpkgsrc-c722df1378d3d797d6908a3305c7b2ea5733a56e.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 *));