Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/chmod Oops; remove unused variables.



details:   https://anonhg.NetBSD.org/src/rev/41953afc8ff6
branches:  trunk
changeset: 480789:41953afc8ff6
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Jan 20 02:50:54 2000 +0000

description:
Oops; remove unused variables.

diffstat:

 bin/chmod/chmod.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 83c4d5d468cb -r 41953afc8ff6 bin/chmod/chmod.c
--- a/bin/chmod/chmod.c Thu Jan 20 02:49:41 2000 +0000
+++ b/bin/chmod/chmod.c Thu Jan 20 02:50:54 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: chmod.c,v 1.21 2000/01/20 02:49:41 mycroft Exp $       */
+/*     $NetBSD: chmod.c,v 1.22 2000/01/20 02:50:54 mycroft Exp $       */
 
 /*
  * Copyright (c) 1989, 1993, 1994
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)chmod.c    8.8 (Berkeley) 4/1/94";
 #else
-__RCSID("$NetBSD: chmod.c,v 1.21 2000/01/20 02:49:41 mycroft Exp $");
+__RCSID("$NetBSD: chmod.c,v 1.22 2000/01/20 02:50:54 mycroft Exp $");
 #endif
 #endif /* not lint */
 
@@ -72,9 +72,8 @@
        FTS *ftsp;
        FTSENT *p;
        mode_t *set;
-       long val;
        int Hflag, Lflag, Rflag, ch, fflag, fts_options, hflag, rval;
-       char *ep, *mode;
+       char *mode;
        int (*change_mode) __P((const char *, mode_t));
 
        set = NULL;     /* XXX gcc -Wuninitialized */



Home | Main Index | Thread Index | Old Index