Fix block processing flow by adding missing break statements for TapeFileBlock and TapePartitionBlock cases

This commit is contained in:
2025-10-08 19:37:49 +01:00
parent 95f9aa6f65
commit 6556a943bc

View File

@@ -411,9 +411,11 @@ void *aaruf_open(const char *filepath) // NOLINT(readability-function-size)
case TapeFileBlock: case TapeFileBlock:
process_tape_files_block(ctx, entry); process_tape_files_block(ctx, entry);
break;
case TapePartitionBlock: case TapePartitionBlock:
process_tape_partitions_block(ctx, entry); process_tape_partitions_block(ctx, entry);
break;
default: default:
TRACE("Unhandled block type %4.4s with data type %d is indexed to be at %" PRIu64 "", TRACE("Unhandled block type %4.4s with data type %d is indexed to be at %" PRIu64 "",
(char *)&entry->blockType, entry->dataType, entry->offset); (char *)&entry->blockType, entry->dataType, entry->offset);