[vlc-commits] opengl: fix variable shadowing warning

Thomas Guillem git at videolan.org
Mon Nov 6 08:48:28 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov  6 08:48:13 2017 +0100| [7af5e81b15014516b3fc23a85f80ac742270c071] | committer: Thomas Guillem

opengl: fix variable shadowing warning

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

 modules/video_output/opengl/fragment_shaders.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/opengl/fragment_shaders.c b/modules/video_output/opengl/fragment_shaders.c
index 33bb8df5c9..d06e831419 100644
--- a/modules/video_output/opengl/fragment_shaders.c
+++ b/modules/video_output/opengl/fragment_shaders.c
@@ -660,7 +660,6 @@ opengl_fragment_shader_init_impl(opengl_tex_converter_t *tc, GLenum tex_target,
 
     for (unsigned i = 1; i < color_count; ++i)
     {
-        unsigned color_idx;
         if (yuv_swap_uv)
         {
             assert(color_count == 3);



More information about the vlc-commits mailing list