[vlc-commits] fsstorage: fix duplicate const specifier warning

David Fuhrmann git at videolan.org
Sat Feb 15 19:52:59 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Feb 15 19:48:36 2014 +0100| [90ff214a3eaadaf8e598fb0628b53e3e312fbcf8] | committer: David Fuhrmann

fsstorage: fix duplicate const specifier warning

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

 modules/misc/addons/fsstorage.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/addons/fsstorage.c b/modules/misc/addons/fsstorage.c
index d2bbd92..c3634ca 100644
--- a/modules/misc/addons/fsstorage.c
+++ b/modules/misc/addons/fsstorage.c
@@ -51,7 +51,7 @@
 static struct
 {
     addon_type_t t;
-    const char const * psz_dir;
+    const char * const psz_dir;
 } const addons_dirs[] = {
     { ADDON_EXTENSION,           ADDONS_SCRIPTS_DIR DIR_SEP "extensions" },
     { ADDON_PLAYLIST_PARSER,     ADDONS_SCRIPTS_DIR DIR_SEP "playlist" },



More information about the vlc-commits mailing list