Revision: 8835 https://osdn.net/projects/ttssh2/scm/svn/commits/8835 Author: zmatsuo Date: 2020-07-05 00:59:40 +0900 (Sun, 05 Jul 2020) Log Message: ----------- common/codeconv.cpp で警告が出ていたので修正 - warning: unused variable 'flags' - warning: passing NULL to non-pointer argument 2 of 'char32_t* Modified Paths: -------------- trunk/teraterm/common/codeconv.cpp -------------- next part -------------- Modified: trunk/teraterm/common/codeconv.cpp =================================================================== --- trunk/teraterm/common/codeconv.cpp 2020-07-04 15:59:25 UTC (rev 8834) +++ trunk/teraterm/common/codeconv.cpp 2020-07-04 15:59:40 UTC (rev 8835) @@ -937,7 +937,6 @@ */ char32_t *_WideCharToUTF32(const wchar_t *wstr_ptr, size_t wstr_len, size_t *u32_len_) { - const DWORD flags = 0; if (u32_len_ != NULL) { *u32_len_ = 0; } @@ -1093,7 +1092,7 @@ char32_t *ToU32W(const wchar_t *strW) { - char32_t *strU32 = _WideCharToUTF32(strW, NULL, NULL); + char32_t *strU32 = _WideCharToUTF32(strW, 0, NULL); return strU32; }