[vlc-devel] [vlc-commits] taglib: fix unused variable warnings
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Fri Jul 22 11:38:13 CEST 2016
On 07/22/2016 11:26 AM, Thomas Guillem wrote:
> 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;
> }
>
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits
>
You can simply remove the parameter name in C++
More information about the vlc-devel
mailing list