From 2b1116cec1e7dac946e3b9312982fca9a483860c Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Fri, 31 Jul 2015 23:18:50 +0900 Subject: [PATCH] APE: Remove unused formal parameters. --- taglib/ape/apefile.cpp | 18 +++++++++--------- taglib/ape/apefile.h | 2 +- taglib/ape/apeproperties.cpp | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/taglib/ape/apefile.cpp b/taglib/ape/apefile.cpp index 9feb198c..c774f516 100644 --- a/taglib/ape/apefile.cpp +++ b/taglib/ape/apefile.cpp @@ -97,20 +97,20 @@ public: // public members //////////////////////////////////////////////////////////////////////////////// -APE::File::File(FileName file, bool readProperties, - Properties::ReadStyle propertiesStyle) : TagLib::File(file) +APE::File::File(FileName file, bool readProperties, Properties::ReadStyle) : + TagLib::File(file), + d(new FilePrivate()) { - d = new FilePrivate; if(isOpen()) - read(readProperties, propertiesStyle); + read(readProperties); } -APE::File::File(IOStream *stream, bool readProperties, - Properties::ReadStyle propertiesStyle) : TagLib::File(stream) +APE::File::File(IOStream *stream, bool readProperties, Properties::ReadStyle) : + TagLib::File(stream), + d(new FilePrivate()) { - d = new FilePrivate; if(isOpen()) - read(readProperties, propertiesStyle); + read(readProperties); } APE::File::~File() @@ -260,7 +260,7 @@ bool APE::File::hasID3v1Tag() const // private members //////////////////////////////////////////////////////////////////////////////// -void APE::File::read(bool readProperties, Properties::ReadStyle /* propertiesStyle */) +void APE::File::read(bool readProperties) { // Look for an ID3v2 tag diff --git a/taglib/ape/apefile.h b/taglib/ape/apefile.h index f2b6c672..1a64f8b5 100644 --- a/taglib/ape/apefile.h +++ b/taglib/ape/apefile.h @@ -215,7 +215,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(); diff --git a/taglib/ape/apeproperties.cpp b/taglib/ape/apeproperties.cpp index e150ba6d..4a339456 100644 --- a/taglib/ape/apeproperties.cpp +++ b/taglib/ape/apeproperties.cpp @@ -63,7 +63,7 @@ public: // public members //////////////////////////////////////////////////////////////////////////////// -APE::Properties::Properties(File *file, ReadStyle style) : +APE::Properties::Properties(File *, ReadStyle style) : AudioProperties(style), d(new PropertiesPrivate()) {