Module Name: src Committed By: uebayasi Date: Thu Oct 9 19:22:31 UTC 2014
Modified Files: src/usr.bin/config: mkmakefile.c Log Message: Kill more unused indent code in emitfiles(). To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/config/mkmakefile.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/config/mkmakefile.c diff -u src/usr.bin/config/mkmakefile.c:1.21 src/usr.bin/config/mkmakefile.c:1.22 --- src/usr.bin/config/mkmakefile.c:1.21 Thu Oct 9 19:20:56 2014 +++ src/usr.bin/config/mkmakefile.c Thu Oct 9 19:22:31 2014 @@ -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 @@ emitfiles(FILE *fp, int suffix, int uppe 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 {