• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision8953 (tree)
Zeit2020-10-03 00:47:17
Autorzmatsuo

Log Message

TTMessageBoxW() 未初期化メンバ警告が出ないよう修正

- missing initializer for field 'message_key' of 'TTMessageBoxInfoW'

Ändern Zusammenfassung

Diff

--- trunk/teraterm/teraterm/commlib.c (revision 8952)
+++ trunk/teraterm/teraterm/commlib.c (revision 8953)
@@ -465,6 +465,7 @@
465465 static const TTMessageBoxInfoW info = {
466466 "Tera Term",
467467 "MSG_TT_ERROR", L"Tera Term: Error",
468+ NULL, NULL
468469 };
469470
470471 switch (err) {
@@ -539,6 +540,7 @@
539540 static const TTMessageBoxInfoW info = {
540541 "Tera Term",
541542 "MSG_TT_ERROR", L"Tera Term: Error",
543+ NULL, NULL
542544 };
543545 InvalidHost = TRUE;
544546
@@ -562,6 +564,7 @@
562564 static const TTMessageBoxInfoW info = {
563565 "Tera Term",
564566 "MSG_TT_ERROR", L"Tera Term: Error",
567+ NULL, NULL
565568 };
566569
567570 switch (err) {
Show on old repository browser