]> granicus.if.org Git - taglib/commitdiff
Remove an unused private data member.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Sun, 23 Aug 2015 09:25:17 +0000 (18:25 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Sun, 23 Aug 2015 09:25:17 +0000 (18:25 +0900)
taglib/ape/apetag.cpp

index e0c2a24e0c1cfc24c74b6300d60c5abecc4d40b1..312533fee726b0e72a1a1d949d6d0d7f8ad895d2 100644 (file)
@@ -46,11 +46,12 @@ using namespace APE;
 class APE::Tag::TagPrivate
 {
 public:
-  TagPrivate() : file(0), footerLocation(-1), tagLength(0) {}
+  TagPrivate() :
+    file(0),
+    footerLocation(-1) {}
 
   TagLib::File *file;
   long footerLocation;
-  long tagLength;
 
   Footer footer;
 
@@ -61,14 +62,16 @@ public:
 // public methods
 ////////////////////////////////////////////////////////////////////////////////
 
-APE::Tag::Tag() : TagLib::Tag()
+APE::Tag::Tag() :
+  TagLib::Tag(),
+  d(new TagPrivate())
 {
-  d = new TagPrivate;
 }
 
-APE::Tag::Tag(TagLib::File *file, long footerLocation) : TagLib::Tag()
+APE::Tag::Tag(TagLib::File *file, long footerLocation) :
+  TagLib::Tag(),
+  d(new TagPrivate())
 {
-  d = new TagPrivate;
   d->file = file;
   d->footerLocation = footerLocation;