[vlc-devel] commit: Dead code ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Feb 21 11:01:29 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 21 12:01:24 2010 +0200| [9f800212803d62e332c1c1e16546c1002aaeb64e] | committer: Rémi Denis-Courmont
Dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f800212803d62e332c1c1e16546c1002aaeb64e
---
src/libvlc.h | 1 -
src/misc/messages.c | 8 --------
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/libvlc.h b/src/libvlc.h
index 046c901..777d81d 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -93,7 +93,6 @@ void msg_Destroy (msg_bank_t *);
void msg_StackSet ( int, const char*, ... );
void msg_StackAdd ( const char*, ... );
const char* msg_StackMsg ( void );
-void msg_StackDestroy (void *);
/*
* Unicode stuff
diff --git a/src/misc/messages.c b/src/misc/messages.c
index c331226..4ef2b28 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -538,14 +538,6 @@ static msg_context_t* GetContext(void)
return p_ctx;
}
-void msg_StackDestroy (void *data)
-{
- msg_context_t *p_ctx = data;
-
- free (p_ctx->psz_message);
- free (p_ctx);
-}
-
void msg_StackSet( int i_code, const char *psz_message, ... )
{
va_list ap;
More information about the vlc-devel
mailing list