• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision8838 (tree)
Time2020-07-05 01:00:24
Authorzmatsuo

Log Message

fall through 警告を修正

warning: this statement may fall through

Change Summary

Incremental Difference

--- trunk/ttssh2/ttxssh/auth.c (revision 8837)
+++ trunk/ttssh2/ttxssh/auth.c (revision 8838)
@@ -1153,6 +1153,7 @@
11531153 default:
11541154 return FALSE;
11551155 }
1156+ return FALSE;
11561157
11571158 case WM_DESTROY:
11581159 if (hIconDropdown != NULL) {
--- trunk/ttssh2/ttxssh/fwdui.c (revision 8837)
+++ trunk/ttssh2/ttxssh/fwdui.c (revision 8838)
@@ -140,7 +140,7 @@
140140 hostname + start, _TRUNCATE);
141141 }
142142 i++;
143- // don't break here
143+ /* don't break here */ /* Falls through. */
144144
145145 case 3:
146146 request->from_port = parse_port(argv[i], request->from_port_name,
--- trunk/ttssh2/ttxssh/sftp.c (revision 8837)
+++ trunk/ttssh2/ttxssh/sftp.c (revision 8838)
@@ -1096,6 +1096,7 @@
10961096 default:
10971097 return FALSE;
10981098 }
1099+ return TRUE;
10991100
11001101 case WM_USER_CONSOLE:
11011102 SendDlgItemMessage(hDlgWnd, IDC_SFTP_CONSOLE, EM_REPLACESEL, 0, (LPARAM) lp);
Show on old repository browser