Revision: 9619 https://osdn.net/projects/ttssh2/scm/svn/commits/9619 Author: zmatsuo Date: 2021-12-23 22:19:16 +0900 (Thu, 23 Dec 2021) Log Message: ----------- assert()内にメッセージを埋め込もうとしたが、警告が出るので削除 - warning: left-hand operand of comma expression has no effect Modified Paths: -------------- trunk/teraterm/common/i18n.c -------------- next part -------------- Modified: trunk/teraterm/common/i18n.c =================================================================== --- trunk/teraterm/common/i18n.c 2021-12-23 13:19:06 UTC (rev 9618) +++ trunk/teraterm/common/i18n.c 2021-12-23 13:19:16 UTC (rev 9619) @@ -51,7 +51,7 @@ else { wmemcpy(buf, str, buf_len - 1); buf[buf_len - 1] = '\0'; - assert(("buffer too small",0)); + assert(FALSE); } free(str); return size; @@ -77,7 +77,7 @@ else { memcpy(buf, strA, buf_len - 1); buf[buf_len - 1] = '\0'; - assert(("buffer too small",0)); + assert(FALSE); } free(defW); free(strA);