[vlc-commits] chromecast: Avoid "defined but not used" warning

Hugo Beauzée-Luyssen git at videolan.org
Tue Feb 21 14:00:58 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Feb 21 13:46:48 2017 +0100| [f1c87f90f4a0ce7f38cc5f714185532d4bd4ff6e] | committer: Hugo Beauzée-Luyssen

chromecast: Avoid "defined but not used" warning

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

 modules/stream_out/chromecast/chromecast_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/chromecast/chromecast_common.h b/modules/stream_out/chromecast/chromecast_common.h
index c126f45..65b2b830 100644
--- a/modules/stream_out/chromecast/chromecast_common.h
+++ b/modules/stream_out/chromecast/chromecast_common.h
@@ -31,7 +31,7 @@
 extern "C" {
 # endif
 
-static const char *CC_SHARED_VAR_NAME = "cc_sout";
+#define CC_SHARED_VAR_NAME "cc_sout"
 
 typedef struct
 {



More information about the vlc-commits mailing list