[vlc-devel] commit: messages: Use psz_object_type. (Pierre d'Herbemont )
git version control
git at videolan.org
Sun Jul 6 18:35:51 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jul 6 18:30:29 2008 +0200| [d59cd4abe53042b8611d1ec345e539144b59ce47]
messages: Use psz_object_type.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d59cd4abe53042b8611d1ec345e539144b59ce47
---
src/misc/messages.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 78bf39e..f00a1de 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -80,9 +80,6 @@ static void PrintMsg ( vlc_object_t *, msg_item_t * );
static inline char * object_description( vlc_object_t * p_this )
{
- if( p_this->i_object_type == VLC_OBJECT_GENERIC
- && p_this->psz_object_name )
- return strdup( p_this->psz_object_name );
return strdup( p_this->psz_object_type );
}
More information about the vlc-devel
mailing list