summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2021-02-01 18:16:25 +0100
committerJeremy Allison <jra@samba.org>2021-02-01 21:50:32 +0000
commit0d985d5f8e338c975ba020ad06bb244ac8a85e76 (patch)
tree6f1f35815fb5f7a7d6eda7114df4388fe7030338 /source3/printing
parent546dbf6c92d19bd8712e47ca990abce2e110f96d (diff)
downloadsamba-0d985d5f8e338c975ba020ad06bb244ac8a85e76.tar.gz
s3:printing: Correctly mark fall through switch statements
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/lpq_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/lpq_parse.c b/source3/printing/lpq_parse.c
index d7a63a59f27..f016707c088 100644
--- 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])) {