make this compile without -DBACKWARDS [someone deleted an unused variable
that was not always unused]
This commit is contained in:
parent
4665cccb20
commit
d1631dd9db
@ -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 */
|
/* io.c: This file contains the i/o routines for the ed line editor */
|
||||||
/*-
|
/*-
|
||||||
@ -32,7 +32,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
static char *rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp";
|
static char *rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp";
|
||||||
#else
|
#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
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -327,6 +327,9 @@ put_tty_line(s, l, n, gflag)
|
|||||||
{
|
{
|
||||||
int col = 0;
|
int col = 0;
|
||||||
char *cp;
|
char *cp;
|
||||||
|
#ifndef BACKWARDS
|
||||||
|
int lc = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (gflag & GNP) {
|
if (gflag & GNP) {
|
||||||
printf("%ld\t", n);
|
printf("%ld\t", n);
|
||||||
|
Loading…
Reference in New Issue
Block a user