[vlc-commits] taglib: fix unused variable warnings

Thomas Guillem git at videolan.org
Fri Jul 22 11:26:05 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jul 22 11:06:20 2016 +0200| [6dca70f8141a665faad09b889039dd2adaad6f47] | committer: Thomas Guillem

taglib: fix unused variable warnings

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

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

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index 3865b0a..9c0023b 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -190,16 +190,19 @@ public:
     void writeBlock(const ByteVector& data)
     {
         // Let's stay Read-Only for now
+        VLC_UNUSED(data);
         return;
     }
 
     void insert(const ByteVector& data, ulong start, ulong replace)
     {
+        VLC_UNUSED(data); VLC_UNUSED(start); VLC_UNUSED(replace);
         return;
     }
 
     void removeBlock(ulong start, ulong length)
     {
+        VLC_UNUSED(start); VLC_UNUSED(length);
         return;
     }
 
@@ -251,6 +254,7 @@ public:
 
     void truncate(long length)
     {
+        VLC_UNUSED(length);
         return;
     }
 



More information about the vlc-commits mailing list