lib:replace: Add FALL_THROUGH statements in strptime.c
authorAndreas Schneider <asn@samba.org>
Wed, 26 Jul 2017 16:25:46 +0000 (18:25 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:41 +0000 (04:37 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/strptime.c

index 20e5d8c39b6a2acc0189ad8fcb5ddf11285b0f52..bbc742277ded5422bcf35e64bc237b58bb5c015d 100644 (file)
@@ -462,7 +462,8 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
              *decided = raw;
            }
 #endif
-         /* Fall through.  */
+
+         FALL_THROUGH;
        case 'D':
          /* Match standard day format.  */
          if (!recursive (HERE_D_FMT))
@@ -611,7 +612,8 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
              *decided = raw;
            }
 #endif
-         /* Fall through.  */
+
+         FALL_THROUGH;
        case 'T':
          if (!recursive (HERE_T_FMT))
            return NULL;