git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
546dbf6
)
s3:printing: Correctly mark fall through switch statements
author
Andreas Schneider
<asn@samba.org>
Mon, 1 Feb 2021 17:16:25 +0000
(18:16 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 1 Feb 2021 21:50:32 +0000
(21:50 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/printing/lpq_parse.c
patch
|
blob
|
history
diff --git
a/source3/printing/lpq_parse.c
b/source3/printing/lpq_parse.c
index d7a63a59f271c4ec9da31a02c11f2e151c73f02c..f016707c08835b6bb19d1429165b72915937f0cc 100644
(file)
--- a/
source3/printing/lpq_parse.c
+++ b/
source3/printing/lpq_parse.c
@@
-1131,7
+1131,7
@@
bool parse_lpq_entry(enum printing_types printing_type,char *line,
return ret;
}
}
- /* fallthrough */
+ FALL_THROUGH;
case LPSTAT_STOPPED:
for (i=0; stat1_strings[i]; i++) {
if (strstr_m(line,stat1_strings[i])) {
@@
-1140,7
+1140,7
@@
bool parse_lpq_entry(enum printing_types printing_type,char *line,
return ret;
}
}
- /* fallthrough */
+ FALL_THROUGH;
case LPSTAT_ERROR:
for (i=0; stat2_strings[i]; i++) {
if (strstr_m(line,stat2_strings[i])) {