mirror of
https://github.com/taglib/taglib.git
synced 2025-07-14 02:54:27 -04:00
Fix potential fallthrough
This commit is contained in:
committed by
Urs Fleisch
parent
4775c83d8d
commit
98a9530d23
@ -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;
|
||||
|
Reference in New Issue
Block a user