[Ttssh2-commit] [8353] falls throughを追加

scmno****@osdn***** scmno****@osdn*****
2019年 10月 30日 (水) 22:33:16 JST


Revision: 8353
          https://osdn.net/projects/ttssh2/scm/svn/commits/8353
Author:   zmatsuo
Date:     2019-10-30 22:33:16 +0900 (Wed, 30 Oct 2019)
Log Message:
-----------
falls throughを追加

- 警告対応 this statement may fall through

Modified Paths:
--------------
    trunk/teraterm/ttpmacro/ttl.c

-------------- next part --------------
Modified: trunk/teraterm/ttpmacro/ttl.c
===================================================================
--- trunk/teraterm/ttpmacro/ttl.c	2019-10-30 13:33:02 UTC (rev 8352)
+++ trunk/teraterm/ttpmacro/ttl.c	2019-10-30 13:33:16 UTC (rev 8353)
@@ -1045,6 +1045,7 @@
 					Str[0] = LOBYTE(Val);
 					Str[1] = 0;
 					strncat_s(buff, MaxStrLen, Str, _TRUNCATE);
+					/* Falls through. */
 				case TypString:
 					strncat_s(buff, MaxStrLen, StrVarPtr((TVarId)Val), _TRUNCATE);
 					break;
@@ -4554,6 +4555,7 @@
 				case 'x':
 				case 'X':
 					type = INTEGER;
+					/* Falls through. */
 
 				case 'e':
 				case 'E':
@@ -4565,6 +4567,7 @@
 					if (type == NONE) {
 						type = DOUBLE;
 					}
+					/* Falls through. */
 
 				case 's':
 					if (type == NONE) {


Ttssh2-commit メーリングリストの案内