Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ed make this compile without -DBACKWARDS [someone delete...
details: https://anonhg.NetBSD.org/src/rev/fa8eaa356f23
branches: trunk
changeset: 485066:fa8eaa356f23
user: christos <christos%NetBSD.org@localhost>
date: Mon Apr 17 23:37:30 2000 +0000
description:
make this compile without -DBACKWARDS [someone deleted an unused variable
that was not always unused]
diffstat:
bin/ed/io.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r bf0cc74c91f4 -r fa8eaa356f23 bin/ed/io.c
--- a/bin/ed/io.c Mon Apr 17 21:48:23 2000 +0000
+++ b/bin/ed/io.c Mon Apr 17 23:37:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.5 2000/04/04 17:07:29 thorpej Exp $ */
+/* $NetBSD: io.c,v 1.6 2000/04/17 23:37:30 christos Exp $ */
/* io.c: This file contains the i/o routines for the ed line editor */
/*-
@@ -32,7 +32,7 @@
#if 0
static char *rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp";
#else
-__RCSID("$NetBSD: io.c,v 1.5 2000/04/04 17:07:29 thorpej Exp $");
+__RCSID("$NetBSD: io.c,v 1.6 2000/04/17 23:37:30 christos Exp $");
#endif
#endif /* not lint */
@@ -327,6 +327,9 @@
{
int col = 0;
char *cp;
+#ifndef BACKWARDS
+ int lc = 0;
+#endif
if (gflag & GNP) {
printf("%ld\t", n);
Home |
Main Index |
Thread Index |
Old Index