Module Name: src
Committed By: christos
Date: Sun Mar 21 14:29:04 UTC 2010
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
revert for now.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/usr.bin/xlint/lint1/tree.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/xlint/lint1/tree.c
diff -u src/usr.bin/xlint/lint1/tree.c:1.63 src/usr.bin/xlint/lint1/tree.c:1.64
--- src/usr.bin/xlint/lint1/tree.c:1.63 Sat Mar 20 20:02:13 2010
+++ src/usr.bin/xlint/lint1/tree.c Sun Mar 21 10:29:04 2010
@@ -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) {