Commit 7ce8aee5 authored by Zhao Zhili's avatar Zhao Zhili Committed by Thomas Guillem

posix: silence a unused variable warning

Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 8fcedf03
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment