Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/citrus/modules remove unused variable, pointed by n...



details:   https://anonhg.NetBSD.org/src/rev/cb5d67387747
branches:  trunk
changeset: 771410:cb5d67387747
user:      tnozaki <tnozaki%NetBSD.org@localhost>
date:      Sat Nov 19 18:20:13 2011 +0000

description:
remove unused variable, pointed by nonaka-san, thanks.

diffstat:

 lib/libc/citrus/modules/citrus_dechanyu.c |  6 +++---
 lib/libc/citrus/modules/citrus_viqr.c     |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 3761db23df40 -r cb5d67387747 lib/libc/citrus/modules/citrus_dechanyu.c
--- a/lib/libc/citrus/modules/citrus_dechanyu.c Sat Nov 19 17:45:11 2011 +0000
+++ b/lib/libc/citrus/modules/citrus_dechanyu.c Sat Nov 19 18:20:13 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_dechanyu.c,v 1.3 2008/06/14 16:01:07 tnozaki Exp $ */
+/* $NetBSD: citrus_dechanyu.c,v 1.4 2011/11/19 18:20:13 tnozaki Exp $ */
 
 /*-
  * Copyright (c)2007 Citrus Project,
@@ -27,7 +27,7 @@
  */
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_dechanyu.c,v 1.3 2008/06/14 16:01:07 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_dechanyu.c,v 1.4 2011/11/19 18:20:13 tnozaki Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -187,7 +187,7 @@
        _DECHanyuState * __restrict psenc, size_t * __restrict nresult)
 {
        const char *s0;
-       int ch, i;
+       int ch;
        wchar_t wc;
 
        /* ei may be unused */
diff -r 3761db23df40 -r cb5d67387747 lib/libc/citrus/modules/citrus_viqr.c
--- a/lib/libc/citrus/modules/citrus_viqr.c     Sat Nov 19 17:45:11 2011 +0000
+++ b/lib/libc/citrus/modules/citrus_viqr.c     Sat Nov 19 18:20:13 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_viqr.c,v 1.4 2008/06/14 16:01:08 tnozaki Exp $ */
+/* $NetBSD: citrus_viqr.c,v 1.5 2011/11/19 18:20:13 tnozaki Exp $ */
 
 /*-
  * Copyright (c)2006 Citrus Project,
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_viqr.c,v 1.4 2008/06/14 16:01:08 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_viqr.c,v 1.5 2011/11/19 18:20:13 tnozaki Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/queue.h>
@@ -360,7 +360,7 @@
        _VIQRState * __restrict psenc, size_t * __restrict nresult)
 {
        mnemonic_t *m;
-       int ch, escape;
+       int ch;
        const char *p;
 
        _DIAGASSERT(ei != NULL);



Home | Main Index | Thread Index | Old Index