[Ttssh2-commit] [6521] 未使用の変数、およびそれの 0 クリアを削除

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2016年 11月 1日 (火) 15:01:18 JST


Revision: 6521
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6521
Author:   doda
Date:     2016-11-01 15:01:18 +0900 (Tue, 01 Nov 2016)
Log Message:
-----------
未使用の変数、およびそれの 0 クリアを削除

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtterm.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2016-11-01 06:01:15 UTC (rev 6520)
+++ trunk/teraterm/teraterm/vtterm.c	2016-11-01 06:01:18 UTC (rev 6521)
@@ -5313,7 +5313,6 @@
 	static int first_code_index;
 
 	unsigned int code;
-	char mbchar[32];
 	unsigned short cset;
 
 	if ((b & 0x80) != 0x80 || ((b & 0xe0) == 0x80 && count == 0)) {
@@ -5340,8 +5339,6 @@
 		return TRUE;
 	}
 
-	memset(mbchar, 0, sizeof(mbchar));
-
 	// 2\x83o\x83C\x83g\x83R\x81[\x83h\x82̏ꍇ
 	if ((buf[0] & 0xe0) == 0xc0) {
 		if ((buf[1] & 0xc0) == 0x80) {



Ttssh2-commit メーリングリストの案内
Back to archive index