aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asm/listing.c5
-rw-r--r--rdoff/rdflib.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/asm/listing.c b/asm/listing.c
index 9409aa90..40af8a62 100644
--- a/asm/listing.c
+++ b/asm/listing.c
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------- *
*
- * Copyright 1996-2016 The NASM Authors - All Rights Reserved
+ * Copyright 1996-2018 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
@@ -213,10 +213,11 @@ static void list_output(const struct out_data *data)
if (size > 16) {
snprintf(q, sizeof(q), "<zero %08"PRIX64">", size);
list_out(offset, q);
+ break;
} else {
p = zero_buffer;
- /* fall through */
}
+ /* fall through */
case OUT_RAWDATA:
{
if (size == 0 && !listdata[0])
diff --git a/rdoff/rdflib.c b/rdoff/rdflib.c
index ee7f19f6..b85b383f 100644
--- a/rdoff/rdflib.c
+++ b/rdoff/rdflib.c
@@ -233,6 +233,7 @@ int main(int argc, char **argv)
fprintf(stderr, "rdflib: required parameter missing\n");
exit(1);
}
+ break;
case 't':
fp = fopen(argv[2], "rb");
if (!fp) {
@@ -317,6 +318,8 @@ int main(int argc, char **argv)
case 'r': /* replace module */
argc--;
+ /* fall through */
+
case 'd': /* delete module */
if (argc < 4) {
fprintf(stderr, "rdflib: required parameter missing\n");