Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
2bbcd7df
Commit
2bbcd7df
authored
Oct 03, 2007
by
Rémi Denis-Courmont
Browse files
Remove survivor strerror (malloc always return ENOMEM when it fails anyway)
parent
e72a0130
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/messages.c
View file @
2bbcd7df
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment