aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/mpc
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2015-08-01 00:04:27 +0900
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2015-08-01 00:04:27 +0900
commitbd251aed37266e7c4d2d14ad0bfb7688c573c57c (patch)
tree2173a342df9b95a1794eef34b12da061776209a8 /taglib/mpc
parente605e96835487e9128eff51757a8d3a1e24116bf (diff)
MusePak: Remove unused formal parameters.
Diffstat (limited to 'taglib/mpc')
-rw-r--r--taglib/mpc/mpcfile.cpp18
-rw-r--r--taglib/mpc/mpcfile.h2
2 files changed, 10 insertions, 10 deletions
diff --git a/taglib/mpc/mpcfile.cpp b/taglib/mpc/mpcfile.cpp
index 7b4df161..092f5150 100644
--- a/taglib/mpc/mpcfile.cpp
+++ b/taglib/mpc/mpcfile.cpp
@@ -88,20 +88,20 @@ public:
// public members
////////////////////////////////////////////////////////////////////////////////
-MPC::File::File(FileName file, bool readProperties,
- Properties::ReadStyle propertiesStyle) : TagLib::File(file)
+MPC::File::File(FileName file, bool readProperties, Properties::ReadStyle) :
+ TagLib::File(file),
+ d(new FilePrivate())
{
- d = new FilePrivate;
if(isOpen())
- read(readProperties, propertiesStyle);
+ read(readProperties);
}
-MPC::File::File(IOStream *stream, bool readProperties,
- Properties::ReadStyle propertiesStyle) : TagLib::File(stream)
+MPC::File::File(IOStream *stream, bool readProperties, Properties::ReadStyle) :
+ TagLib::File(stream),
+ d(new FilePrivate())
{
- d = new FilePrivate;
if(isOpen())
- read(readProperties, propertiesStyle);
+ read(readProperties);
}
MPC::File::~File()
@@ -268,7 +268,7 @@ bool MPC::File::hasAPETag() const
// private members
////////////////////////////////////////////////////////////////////////////////
-void MPC::File::read(bool readProperties, Properties::ReadStyle /* propertiesStyle */)
+void MPC::File::read(bool readProperties)
{
// Look for an ID3v1 tag
diff --git a/taglib/mpc/mpcfile.h b/taglib/mpc/mpcfile.h
index a1223101..df5d4356 100644
--- a/taglib/mpc/mpcfile.h
+++ b/taglib/mpc/mpcfile.h
@@ -216,7 +216,7 @@ namespace TagLib {
File(const File &);
File &operator=(const File &);
- void read(bool readProperties, Properties::ReadStyle propertiesStyle);
+ void read(bool readProperties);
long findAPE();
long findID3v1();
long findID3v2();