[vlc-devel] commit: Really fix the vlm_MessageNew NULL warning ( Rémi Denis-Courmont )

David Flynn davidf+nntp at woaf.net
Wed Apr 8 16:17:33 CEST 2009


On 2009-04-06, git version control <git at videolan.org> wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr  6 19:10:39 2009 +0300| [9312c3dc93bc67651ad56f5e49fe5207dd8edada] | committer: Rémi Denis-Courmont 
>
> Really fix the vlm_MessageNew NULL warning
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9312c3dc93bc67651ad56f5e49fe5207dd8edada

Requires a fix allong these lines (to fix win32 builds with --disable-vlm),

..david

diff --git a/src/missing.c b/src/missing.c
index 3e678cf..4f498b3 100644
--- a/src/missing.c
+++ b/src/missing.c
@@ -360,6 +360,11 @@ void vlm_MessageDelete (vlm_message_t *m)
     assert (0);
 }
 
+vlm_message_t *vlm_MessageSimpleNew ( const char *a )
+{
+    return NULL;
+}
+
 vlm_message_t *vlm_MessageNew (const char *a, const char *fmt, ...)
 {
     return NULL;




More information about the vlc-devel mailing list