Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/ypwhich Remove spurious error(1) inserted compiler e...



details:   https://anonhg.NetBSD.org/src/rev/76f4fed5e398
branches:  trunk
changeset: 826029:76f4fed5e398
user:      ginsbach <ginsbach%NetBSD.org@localhost>
date:      Fri Aug 11 20:32:34 2017 +0000

description:
Remove spurious error(1) inserted compiler error message comments.

diffstat:

 usr.bin/ypwhich/ypwhich.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 68ead409271d -r 76f4fed5e398 usr.bin/ypwhich/ypwhich.c
--- a/usr.bin/ypwhich/ypwhich.c Fri Aug 11 20:31:58 2017 +0000
+++ b/usr.bin/ypwhich/ypwhich.c Fri Aug 11 20:32:34 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ypwhich.c,v 1.20 2014/10/18 08:33:30 snj Exp $ */
+/*     $NetBSD: ypwhich.c,v 1.21 2017/08/11 20:32:34 ginsbach Exp $    */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor
@@ -306,9 +306,6 @@
          * now translate nicknames [unless inhibited]
          */
        if (map && !inhibit) {
-/*###325 [cc] error: 'i' undeclared (first use in this function)%%%*/
-/*###325 [cc] error: (Each undeclared identifier is reported only once%%%*/
-/*###325 [cc] error: for each function it appears in.)%%%*/
                for (i = 0; ypaliases[i].alias; i++) {
                        if (strcmp(map, ypaliases[i].alias) == 0) {
                                map = ypaliases[i].name;



Home | Main Index | Thread Index | Old Index