diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-04-05 18:01:55 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-04-05 18:01:55 +0000 |
commit | e0189df64ad42bc11ea4ca37d91dd0113769a0b5 (patch) | |
tree | 80fc2ee31ef5996f99f0881d9491bb43ee2588c7 /usr.sbin/pkg_install | |
parent | 445d126575d44ecad8b51f707821f2fb6f955a09 (diff) |
remove some unused variables, disambiguate braces; rohee@ ok
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/create/perform.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index c098c1c0f78..725a710b17c 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -1,7 +1,7 @@ -/* $OpenBSD: perform.c,v 1.13 2001/11/26 05:04:33 deraadt Exp $ */ +/* $OpenBSD: perform.c,v 1.14 2003/04/05 18:01:54 avsm Exp $ */ #ifndef lint -static const char *rcsid = "$OpenBSD: perform.c,v 1.13 2001/11/26 05:04:33 deraadt Exp $"; +static const char *rcsid = "$OpenBSD: perform.c,v 1.14 2003/04/05 18:01:54 avsm Exp $"; #endif /* @@ -226,9 +226,7 @@ make_dist(char *home, char *pkg, char *suffix, package_t *plist) int current = 0; FILE *flist = 0; int nargs = 0; - int pipefds[2]; int i; - FILE *totar; pid_t pid; args[nargs++] = "tar"; /* argv[0] */ @@ -254,11 +252,12 @@ make_dist(char *home, char *pkg, char *suffix, package_t *plist) */ } - if (Verbose) + if (Verbose) { if (strchr(suffix, 'z')) printf("Creating gzip'd tar ball in '%s'\n", tball); else printf("Creating tar ball in '%s'\n", tball); + } args[nargs++] = CONTENTS_FNAME; args[nargs++] = COMMENT_FNAME; args[nargs++] = DESC_FNAME; |