Remove unused variable stdout_ok, which was left over from my changes
in September. Pointed out by Mike Small in a private email.
This commit is contained in:
parent
bb938d861a
commit
d772e9e433
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: echo.c,v 1.12 2003/09/14 19:20:20 jschauma Exp $ */
|
/* $NetBSD: echo.c,v 1.13 2003/11/24 22:38:46 jschauma Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1989, 1993
|
* Copyright (c) 1989, 1993
|
||||||
@ -40,7 +40,7 @@ __COPYRIGHT(
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
|
static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: echo.c,v 1.12 2003/09/14 19:20:20 jschauma Exp $");
|
__RCSID("$NetBSD: echo.c,v 1.13 2003/11/24 22:38:46 jschauma Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -53,8 +53,6 @@ __RCSID("$NetBSD: echo.c,v 1.12 2003/09/14 19:20:20 jschauma Exp $");
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <vis.h>
|
#include <vis.h>
|
||||||
|
|
||||||
int stdout_ok;
|
|
||||||
|
|
||||||
int main(int, char *[]);
|
int main(int, char *[]);
|
||||||
|
|
||||||
/* ARGSUSED */
|
/* ARGSUSED */
|
||||||
@ -63,7 +61,6 @@ main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
int nflag;
|
int nflag;
|
||||||
|
|
||||||
stdout_ok = isatty(STDOUT_FILENO);
|
|
||||||
/* This utility may NOT do getopt(3) option parsing. */
|
/* This utility may NOT do getopt(3) option parsing. */
|
||||||
if (*++argv && !strcmp(*argv, "-n")) {
|
if (*++argv && !strcmp(*argv, "-n")) {
|
||||||
++argv;
|
++argv;
|
||||||
|
Loading…
Reference in New Issue
Block a user