aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/read_open_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/read_open_memory.c')
-rw-r--r--libarchive/test/read_open_memory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/test/read_open_memory.c b/libarchive/test/read_open_memory.c
index 2bb8d54751c7..daa3c3a1f02a 100644
--- a/libarchive/test/read_open_memory.c
+++ b/libarchive/test/read_open_memory.c
@@ -91,9 +91,11 @@ read_open_memory_internal(struct archive *a, const void *buff,
switch (level) {
case 3:
archive_read_set_seek_callback(a, memory_read_seek);
+ __LA_FALLTHROUGH;
case 2:
archive_read_set_open_callback(a, memory_read_open);
archive_read_set_skip_callback(a, memory_read_skip);
+ __LA_FALLTHROUGH;
case 1:
mine = malloc(sizeof(*mine));
if (mine == NULL) {