Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/config Kill more unused indent code in emitfiles().



details:   https://anonhg.NetBSD.org/src/rev/bb9a8371ef13
branches:  trunk
changeset: 332797:bb9a8371ef13
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Oct 09 19:22:31 2014 +0000

description:
Kill more unused indent code in emitfiles().

diffstat:

 usr.bin/config/mkmakefile.c |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r 084f580484d6 -r bb9a8371ef13 usr.bin/config/mkmakefile.c
--- a/usr.bin/config/mkmakefile.c       Thu Oct 09 19:20:56 2014 +0000
+++ b/usr.bin/config/mkmakefile.c       Thu Oct 09 19:22:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkmakefile.c,v 1.21 2014/10/09 19:20:56 uebayasi Exp $ */
+/*     $NetBSD: mkmakefile.c,v 1.22 2014/10/09 19:22:31 uebayasi Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -442,14 +442,6 @@
                len = strlen(fpath);
                if (fpath[len - 1] != suffix && fpath[len - 1] != upper_suffix)
                        continue;
-               if (*fpath != '/') {
-                       /* "$S/" */
-                       if (fi->fi_prefix != NULL)
-                               len += strlen(prefix_prologue(fi->fi_prefix)) +
-                                      strlen(fi->fi_prefix) + 1;
-                       else
-                               len += strlen(filetype_prologue(&fi->fi_fit));
-               }
                if (*fi->fi_path == '/') {
                        fprintf(fp, "\t%s \\\n", fpath);
                } else {



Home | Main Index | Thread Index | Old Index