]> granicus.if.org Git - taglib/commitdiff
WavPack: Remove unused formal parameters.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Fri, 31 Jul 2015 15:44:41 +0000 (00:44 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Fri, 31 Jul 2015 15:44:41 +0000 (00:44 +0900)
taglib/wavpack/wavpackfile.cpp
taglib/wavpack/wavpackfile.h
taglib/wavpack/wavpackproperties.cpp

index 1a5b417dcdc2714ab7cc49044d20dfb1d5a85b0c..de0ba4159c1efa256f1d8b7713a249a37a86a140 100644 (file)
@@ -82,20 +82,20 @@ public:
 // public members
 ////////////////////////////////////////////////////////////////////////////////
 
-WavPack::File::File(FileName file, bool readProperties,
-                Properties::ReadStyle propertiesStyle) : TagLib::File(file)
+WavPack::File::File(FileName file, bool readProperties, Properties::ReadStyle) :
+  TagLib::File(file),
+  d(new FilePrivate())
 {
-  d = new FilePrivate;
   if(isOpen())
-    read(readProperties, propertiesStyle);
+    read(readProperties);
 }
 
-WavPack::File::File(IOStream *stream, bool readProperties,
-                Properties::ReadStyle propertiesStyle) : TagLib::File(stream)
+WavPack::File::File(IOStream *stream, bool readProperties, Properties::ReadStyle) :
+  TagLib::File(stream),
+  d(new FilePrivate())
 {
-  d = new FilePrivate;
   if(isOpen())
-    read(readProperties, propertiesStyle);
+    read(readProperties);
 }
 
 WavPack::File::~File()
@@ -245,7 +245,7 @@ bool WavPack::File::hasAPETag() const
 // private members
 ////////////////////////////////////////////////////////////////////////////////
 
-void WavPack::File::read(bool readProperties, Properties::ReadStyle /* propertiesStyle */)
+void WavPack::File::read(bool readProperties)
 {
   // Look for an ID3v1 tag
 
index 9322823be009e5fa0f21bb4af809929af480caae..2e51bd1dd4791e4ba38fdcb4fe4dd4d0bab29fe1 100644 (file)
@@ -202,7 +202,7 @@ namespace TagLib {
       File(const File &);
       File &operator=(const File &);
 
-      void read(bool readProperties, Properties::ReadStyle propertiesStyle);
+      void read(bool readProperties);
       long findID3v1();
       long findAPE();
 
index b25bd966e538fa896433c22e91ae29cc8e5bdf7b..94d3534cbba7b23ef5aea21ad2ccc115841855a6 100644 (file)
@@ -65,7 +65,7 @@ public:
 // public members
 ////////////////////////////////////////////////////////////////////////////////
 
-WavPack::Properties::Properties(const ByteVector & /*data*/, long /*streamLength*/, ReadStyle style) :
+WavPack::Properties::Properties(const ByteVector &, long, ReadStyle style) :
   AudioProperties(style),
   d(new PropertiesPrivate())
 {