From 98a9530d23458432bd0d63559002507742116516 Mon Sep 17 00:00:00 2001 From: "Stephen F. Booth" Date: Sun, 17 Dec 2023 17:20:10 -0600 Subject: [PATCH] Fix potential fallthrough --- taglib/asf/asfattribute.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/taglib/asf/asfattribute.cpp b/taglib/asf/asfattribute.cpp index ca31c6d9..87d53dbc 100644 --- a/taglib/asf/asfattribute.cpp +++ b/taglib/asf/asfattribute.cpp @@ -248,8 +248,9 @@ int ASF::Attribute::dataSize() const case UnicodeType: return d->stringValue.size() * 2 + 2; case BytesType: - if(d->pictureValue.isValid()) + if(d->pictureValue.isValid()) { return d->pictureValue.dataSize(); + } break; case GuidType: return d->byteVectorValue.size(); @@ -290,8 +291,8 @@ ByteVector ASF::Attribute::render(const String &name, int kind) const case BytesType: if(d->pictureValue.isValid()) { data.append(d->pictureValue.render()); - break; } + break; case GuidType: data.append(d->byteVectorValue); break;