Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Remove unused variables.
details: https://anonhg.NetBSD.org/src/rev/2b5cb5911f2b
branches: trunk
changeset: 348533:2b5cb5911f2b
user: abhinav <abhinav%NetBSD.org@localhost>
date: Sun Oct 23 08:24:27 2016 +0000
description:
Remove unused variables.
Fixes the sh(1) build when DEBUG is enabled.
diffstat:
bin/sh/show.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 404e7a467854 -r 2b5cb5911f2b bin/sh/show.c
--- a/bin/sh/show.c Sun Oct 23 07:40:08 2016 +0000
+++ b/bin/sh/show.c Sun Oct 23 08:24:27 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: show.c,v 1.33 2016/05/11 17:28:30 kre Exp $ */
+/* $NetBSD: show.c,v 1.34 2016/10/23 08:24:27 abhinav Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)show.c 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: show.c,v 1.33 2016/05/11 17:28:30 kre Exp $");
+__RCSID("$NetBSD: show.c,v 1.34 2016/10/23 08:24:27 abhinav Exp $");
#endif
#endif /* not lint */
@@ -170,8 +170,6 @@
{
union node *np;
int first;
- const char *s;
- int dftfd;
int len = 0;
first = 1;
Home |
Main Index |
Thread Index |
Old Index