summaryrefslogtreecommitdiff
path: root/src/libaudtag/ape/ape.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libaudtag/ape/ape.cc')
-rw-r--r--src/libaudtag/ape/ape.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libaudtag/ape/ape.cc b/src/libaudtag/ape/ape.cc
index 165fed4..5188aa8 100644
--- a/src/libaudtag/ape/ape.cc
+++ b/src/libaudtag/ape/ape.cc
@@ -240,12 +240,8 @@ static Index<ValuePair> ape_read_items (VFSFile & handle)
return list;
}
-bool APETagModule::read_tag (VFSFile & handle, Tuple * ptuple, Index<char> * image)
+bool APETagModule::read_tag (VFSFile & handle, Tuple & tuple, Index<char> * image)
{
- if (! ptuple)
- return true; // nothing to do
-
- Tuple & tuple = * ptuple;
Index<ValuePair> list = ape_read_items (handle);
for (const ValuePair & pair : list)