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

Filip Roséen git at videolan.org
Sun May 21 21:24:58 CEST 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Sun May 21 20:49:34 2017 +0200| [b8d9372bfb2b2dd645b801af68e6179569acca52] | committer: Rémi Denis-Courmont

codec/stl: GroupParseTeletext: remove duplicate const

This will silence a diagnostic related to duplicate const qualifier,
as well as removing the obvious redundance of such qualification.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 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,



More information about the vlc-commits mailing list