Module Name: src Committed By: dholland Date: Tue May 31 03:34:14 UTC 2016
Modified Files: src/lib/libc/citrus/modules: citrus_johab.c Log Message: PR 51000 David Binderman: comment out unused assignment To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/citrus/modules/citrus_johab.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/citrus/modules/citrus_johab.c diff -u src/lib/libc/citrus/modules/citrus_johab.c:1.5 src/lib/libc/citrus/modules/citrus_johab.c:1.6 --- src/lib/libc/citrus/modules/citrus_johab.c:1.5 Tue May 28 16:57:56 2013 +++ src/lib/libc/citrus/modules/citrus_johab.c Tue May 31 03:34:14 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: citrus_johab.c,v 1.5 2013/05/28 16:57:56 joerg Exp $ */ +/* $NetBSD: citrus_johab.c,v 1.6 2016/05/31 03:34:14 dholland Exp $ */ /*- * Copyright (c)2006 Citrus Project, @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: citrus_johab.c,v 1.5 2013/05/28 16:57:56 joerg Exp $"); +__RCSID("$NetBSD: citrus_johab.c,v 1.6 2016/05/31 03:34:14 dholland Exp $"); #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -349,7 +349,7 @@ _citrus_JOHAB_stdenc_cstowc(_JOHABEncodi l = ((idx >> 8) & 0xFF) - n; t = (idx & 0xFF) - 0x21; linear = (l * 94) + t; - l = (linear / 188) + m; + /*l = (linear / 188) + m;*/ t = linear % 188; t += (t <= 0x4D) ? 0x31 : 0x43; break;