[vlc-commits] Fixed warnings on duplicate const modifiers
Maxim Bublis
git at videolan.org
Sat Nov 23 10:49:13 CET 2013
vlc | branch: master | Maxim Bublis <b at codemonkey.ru> | Sat Nov 23 00:07:21 2013 +0400| [ae4679b796170f4c51670de8a9eddd1d6923d9bf] | committer: Rémi Denis-Courmont
Fixed warnings on duplicate const modifiers
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae4679b796170f4c51670de8a9eddd1d6923d9bf
---
src/misc/objects.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index af02b6b..0026ea8 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -437,10 +437,10 @@ vlc_object_t *vlc_object_find_name( vlc_object_t *p_this, const char *psz_name )
/* This was officially deprecated on August 19 2009. For the convenience of
* wannabe code janitors, this is the list of names that remain used
* and unfixed since then. */
- static const char const bad[][11] = { "adjust", "clone", "colorthres",
+ static const char bad[][11] = { "adjust", "clone", "colorthres",
"erase", "extract", "gradient", "logo", "marq", "motionblur", "puzzle",
"rotate", "sharpen", "transform", "v4l2", "wall" };
- static const char const poor[][13] = { "invert", "magnify", "motiondetect",
+ static const char poor[][13] = { "invert", "magnify", "motiondetect",
"psychedelic", "ripple", "wave" };
if( bsearch( psz_name, bad, 15, 11, (void *)strcmp ) == NULL
&& bsearch( psz_name, poor, 6, 13, (void *)strcmp ) == NULL )
More information about the vlc-commits
mailing list