[vlc-devel] [PATCH] codec/stl: GroupParseTeletext: remove duplicate const

Filip Roséen filip at atch.se
Sun May 21 20:49:34 CEST 2017


This will silence a diagnostic related to duplicate const qualifier,
as well as removing the obvious redundance of such qualification.
---
 modules/codec/stl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/stl.c b/modules/codec/stl.c
index 95da13745d..1875678e37 100644
--- a/modules/codec/stl.c
+++ b/modules/codec/stl.c
@@ -157,7 +157,7 @@ static void GroupParseTeletext(stl_sg_t *p_group, uint8_t code)
     /* See ETS 300 706 Table 26 as EBU 3264 does only name values
        and does not explain at all */
 
-    static const uint32_t const colors[] =
+    static const uint32_t colors[] =
     {
         0x000000,
         0xFF0000,
-- 
2.13.0


More information about the vlc-devel mailing list