From 72fd205bcf2bbe93792497b4cc91b88969743457 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 25 Feb 2018 22:25:07 +0300 Subject: [PATCH] Revert "Use fallthrough() to placate compiler" This reverts commit 8a7c6009fbddd7084fdfaebd9e3e3fd0baa39bc2. --- asm/listing.c | 2 +- rdoff/rdflib.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/asm/listing.c b/asm/listing.c index 7914fbf2..9409aa90 100644 --- a/asm/listing.c +++ b/asm/listing.c @@ -215,8 +215,8 @@ static void list_output(const struct out_data *data) list_out(offset, q); } else { p = zero_buffer; + /* fall through */ } - fallthrough(); case OUT_RAWDATA: { if (size == 0 && !listdata[0]) diff --git a/rdoff/rdflib.c b/rdoff/rdflib.c index 1de50ad9..ee7f19f6 100644 --- a/rdoff/rdflib.c +++ b/rdoff/rdflib.c @@ -233,7 +233,6 @@ int main(int argc, char **argv) fprintf(stderr, "rdflib: required parameter missing\n"); exit(1); } - fallthrough(); case 't': fp = fopen(argv[2], "rb"); if (!fp) { @@ -318,7 +317,6 @@ int main(int argc, char **argv) case 'r': /* replace module */ argc--; - fallthrough(); case 'd': /* delete module */ if (argc < 4) { fprintf(stderr, "rdflib: required parameter missing\n"); -- 2.11.4.GIT