Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/config Remove an unsed var.



details:   https://anonhg.NetBSD.org/src/rev/142bb11a6dfe
branches:  trunk
changeset: 332846:142bb11a6dfe
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Oct 10 16:17:27 2014 +0000

description:
Remove an unsed var.

diffstat:

 usr.bin/config/main.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 3f4fe62a52b8 -r 142bb11a6dfe usr.bin/config/main.c
--- a/usr.bin/config/main.c     Fri Oct 10 15:35:08 2014 +0000
+++ b/usr.bin/config/main.c     Fri Oct 10 16:17:27 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.63 2014/10/10 15:35:08 uebayasi Exp $       */
+/*     $NetBSD: main.c,v 1.64 2014/10/10 16:17:27 uebayasi Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -551,8 +551,6 @@
        struct attr *a;
 
        if (nv != NULL && (nv->nv_flags & NV_DEPENDED) == 0) {
-               const char *n = strtolower(nv->nv_name);
-
                nv->nv_flags |= NV_DEPENDED;
                /*
                 * If the dependency is an attribute, then just add



Home | Main Index | Thread Index | Old Index