[vlc-commits] stream: add VLC_USED to stream_MimeType()

Rémi Denis-Courmont git at videolan.org
Tue Apr 18 20:40:53 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 17 23:01:57 2017 +0300| [166e66fb5b4a5a8214fdfbdc55de6e050e014665] | committer: Rémi Denis-Courmont

stream: add VLC_USED to stream_MimeType()

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

 include/vlc_stream.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_stream.h b/include/vlc_stream.h
index e5701722c0..6960260291 100644
--- a/include/vlc_stream.h
+++ b/include/vlc_stream.h
@@ -333,6 +333,7 @@ static inline char *stream_ContentType( stream_t *s )
  * \warning the returned resource is to be freed by the caller
  * \return the mime-type, or `NULL` if unknown
  **/
+VLC_USED
 static inline char *stream_MimeType( stream_t *s )
 {
     char* mime_type = stream_ContentType( s );



More information about the vlc-commits mailing list