[vlc-commits] taglib: remove unused parameters

Rémi Denis-Courmont git at videolan.org
Mon Jul 25 22:18:24 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 25 23:17:30 2016 +0300| [6829e360b62df98f9d60833086d0fd238dfe9e58] | committer: Rémi Denis-Courmont

taglib: remove unused parameters

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6829e360b62df98f9d60833086d0fd238dfe9e58
---

 modules/meta_engine/taglib.cpp | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index 15c77f3..4e5df57 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -188,23 +188,17 @@ public:
         return res;
     }
 
-    void writeBlock(const ByteVector& data)
+    void writeBlock(const ByteVector&)
     {
         // Let's stay Read-Only for now
-        VLC_UNUSED(data);
-        return;
     }
 
-    void insert(const ByteVector& data, ulong start, ulong replace)
+    void insert(const ByteVector&, ulong, ulong)
     {
-        VLC_UNUSED(data); VLC_UNUSED(start); VLC_UNUSED(replace);
-        return;
     }
 
-    void removeBlock(ulong start, ulong length)
+    void removeBlock(ulong, ulong)
     {
-        VLC_UNUSED(start); VLC_UNUSED(length);
-        return;
     }
 
     bool readOnly() const
@@ -253,10 +247,8 @@ public:
         return i_size;
     }
 
-    void truncate(long length)
+    void truncate(long)
     {
-        VLC_UNUSED(length);
-        return;
     }
 
 private:



More information about the vlc-commits mailing list