Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses remove unused variable
details: https://anonhg.NetBSD.org/src/rev/66a712682b51
branches: trunk
changeset: 791247:66a712682b51
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 10 03:14:16 2013 +0000
description:
remove unused variable
diffstat:
lib/libcurses/addbytes.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r d7a4549c7d85 -r 66a712682b51 lib/libcurses/addbytes.c
--- a/lib/libcurses/addbytes.c Sun Nov 10 02:43:23 2013 +0000
+++ b/lib/libcurses/addbytes.c Sun Nov 10 03:14:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: addbytes.c,v 1.41 2013/11/09 11:16:59 blymn Exp $ */
+/* $NetBSD: addbytes.c,v 1.42 2013/11/10 03:14:16 christos Exp $ */
/*
* Copyright (c) 1987, 1993, 1994
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)addbytes.c 8.4 (Berkeley) 5/4/94";
#else
-__RCSID("$NetBSD: addbytes.c,v 1.41 2013/11/09 11:16:59 blymn Exp $");
+__RCSID("$NetBSD: addbytes.c,v 1.42 2013/11/10 03:14:16 christos Exp $");
#endif
#endif /* not lint */
@@ -115,7 +115,7 @@
_cursesi_waddbytes(WINDOW *win, const char *bytes, int count, attr_t attr,
int char_interp)
{
- int ox, x, y, err;
+ int x, y, err;
__LINE *lp;
#ifdef HAVE_WCHAR
int n;
@@ -138,7 +138,6 @@
err = OK;
SYNCH_IN;
lp = win->alines[y];
- ox = win->curx;
#ifdef HAVE_WCHAR
(void)memset(&st, 0, sizeof(st));
Home |
Main Index |
Thread Index |
Old Index