Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses comment out unused code.



details:   https://anonhg.NetBSD.org/src/rev/be6b6a193c97
branches:  trunk
changeset: 822448:be6b6a193c97
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 20 18:19:34 2017 +0000

description:
comment out unused code.

diffstat:

 lib/libcurses/cr_put.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 6ad4b51d2c9c -r be6b6a193c97 lib/libcurses/cr_put.c
--- a/lib/libcurses/cr_put.c    Mon Mar 20 16:02:48 2017 +0000
+++ b/lib/libcurses/cr_put.c    Mon Mar 20 18:19:34 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cr_put.c,v 1.32 2017/01/06 13:53:18 roy Exp $  */
+/*     $NetBSD: cr_put.c,v 1.33 2017/03/20 18:19:34 christos Exp $     */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)cr_put.c   8.3 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: cr_put.c,v 1.32 2017/01/06 13:53:18 roy Exp $");
+__RCSID("$NetBSD: cr_put.c,v 1.33 2017/03/20 18:19:34 christos Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -344,8 +344,10 @@
                if (__NONL || __pfast == 0)
                        outcol = 0;
        }
+#ifdef notdef
        if (back_tab)
                k = (int) strlen(back_tab);
+#endif
        while (outcol > destcol) {
                if (plodcnt < 0)
                        goto out;



Home | Main Index | Thread Index | Old Index