clang-tidy: remove redundant initializations

Found with readability-redundant-member-init

Signed-off-by: Rosen Penev <[email protected]>
This commit is contained in:
Rosen Penev
2021-06-21 06:49:32 +02:00
committed by Urs Fleisch
parent 17e299350a
commit b77e828d4b
16 changed files with 9 additions and 24 deletions
-2
View File
@@ -85,13 +85,11 @@ ByteVector ID3v1::StringHandler::render(const String &s) const
////////////////////////////////////////////////////////////////////////////////
ID3v1::Tag::Tag() :
TagLib::Tag(),
d(new TagPrivate())
{
}
ID3v1::Tag::Tag(File *file, long tagOffset) :
TagLib::Tag(),
d(new TagPrivate())
{
d->file = file;
-2
View File
@@ -120,14 +120,12 @@ String Latin1StringHandler::parse(const ByteVector &data) const
////////////////////////////////////////////////////////////////////////////////
ID3v2::Tag::Tag() :
TagLib::Tag(),
d(new TagPrivate())
{
d->factory = FrameFactory::instance();
}
ID3v2::Tag::Tag(File *file, long tagOffset, const FrameFactory *factory) :
TagLib::Tag(),
d(new TagPrivate())
{
d->factory = factory;