lib:util: Add FALL_THROUGH statements in util_file.c
authorAndreas Schneider <asn@samba.org>
Wed, 26 Jul 2017 16:41:25 +0000 (18:41 +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/util/util_file.c

index ac8206008a3ccf9d23ad8f14c8534cdb8b9d0ef9..499e8c466939bec9a56af19997f4986ccc45928d 100644 (file)
@@ -130,7 +130,8 @@ char *fgets_slash(TALLOC_CTX *mem_ctx, char *s2, int maxlen, FILE *f)
                            if (start_of_line) {
                                    break;
                            }
-                           /* fall through */
+
+                           FALL_THROUGH;
                    default:
                            start_of_line = false;
                            s[len++] = c;