Commit 2bbcd7df authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove survivor strerror (malloc always return ENOMEM when it fails anyway)

parent e72a0130
......@@ -367,8 +367,7 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
if( psz_str == NULL )
{
fprintf( stderr, "main warning: can't store message (%s): ",
strerror(errno) );
fputs( "main warning: no memory to store message): ", stderr );
vlc_va_copy( args, _args );
/* We should use utf8_vfprintf - but it calls malloc()... */
vfprintf( stderr, psz_format, args );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment