Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 revert for now.



details:   https://anonhg.NetBSD.org/src/rev/05bb6903e270
branches:  trunk
changeset: 753247:05bb6903e270
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 21 14:29:04 2010 +0000

description:
revert for now.

diffstat:

 usr.bin/xlint/lint1/tree.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 29f651aaf0cc -r 05bb6903e270 usr.bin/xlint/lint1/tree.c
--- a/usr.bin/xlint/lint1/tree.c        Sun Mar 21 14:28:15 2010 +0000
+++ b/usr.bin/xlint/lint1/tree.c        Sun Mar 21 14:29:04 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tree.c,v 1.63 2010/03/21 00:02:13 christos Exp $       */
+/*     $NetBSD: tree.c,v 1.64 2010/03/21 14:29:04 christos Exp $       */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tree.c,v 1.63 2010/03/21 00:02:13 christos Exp $");
+__RCSID("$NetBSD: tree.c,v 1.64 2010/03/21 14:29:04 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -1513,8 +1513,10 @@
 {
        tnode_t *ntn;
        tspec_t t;
+#ifdef notyet
        size_t l;
        uint64_t rnum;
+#endif
 
        ntn = getnode();
 
@@ -1524,6 +1526,7 @@
        ntn->tn_right = rn;
 
        switch (op) {
+#ifdef notyet
        case SHR:
                if (rn->tn_op != CON)
                        break;
@@ -1555,6 +1558,7 @@
                if (t != ln->tn_type->t_tspec)
                        ntn->tn_type->t_tspec = t;
                break;
+#endif
        case STAR:
        case FSEL:
                if (ln->tn_type->t_tspec == PTR) {



Home | Main Index | Thread Index | Old Index