git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da568e
)
lib:util: Add FALL_THROUGH statements in util_file.c
author
Andreas Schneider
<asn@samba.org>
Wed, 26 Jul 2017 16:41:25 +0000
(18:41 +0200)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/lib/util/util_file.c
b/lib/util/util_file.c
index ac8206008a3ccf9d23ad8f14c8534cdb8b9d0ef9..499e8c466939bec9a56af19997f4986ccc45928d 100644
(file)
--- a/
lib/util/util_file.c
+++ b/
lib/util/util_file.c
@@
-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;