[vlc-commits] posix: silence a unused variable warning
Zhao Zhili
git at videolan.org
Fri May 18 13:27:43 CEST 2018
vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Fri May 18 14:00:53 2018 +0800| [7ce8aee5374eba7f281eafe7523ffdc71563e705] | committer: Thomas Guillem
posix: silence a unused variable warning
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7ce8aee5374eba7f281eafe7523ffdc71563e705
---
src/posix/plugin.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/posix/plugin.c b/src/posix/plugin.c
index 65db4ee702..f2a259e0dd 100644
--- a/src/posix/plugin.c
+++ b/src/posix/plugin.c
@@ -45,8 +45,10 @@ void *vlc_dlopen(const char *path, bool lazy)
const int flags = lazy ? RTLD_LAZY : RTLD_NOW;
#elif defined (DL_LAZY)
const int flags = DL_LAZY;
+ VLC_UNUSED(lazy);
#else
const int flags = 0;
+ VLC_UNUSED(lazy);
#endif
return dlopen (path, flags);
}
More information about the vlc-commits
mailing list