]> git.sesse.net Git - vlc/blobdiff - src/misc/messages.c
messages: Use psz_object_type.
[vlc] / src / misc / messages.c
index 78bf39e0b8d4e361364af9be295a626b36de8a05..f00a1de1ed6e32b4b786aa847d217a328384a2f4 100644 (file)
@@ -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 );
 }