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

waitpipe: fix missing initializer from earlier commit

parent a969b13d
...@@ -415,7 +415,8 @@ int vlc_object_waitpipe( vlc_object_t *obj ) ...@@ -415,7 +415,8 @@ int vlc_object_waitpipe( vlc_object_t *obj )
assert (internals->pipes[1] == -1); assert (internals->pipes[1] == -1);
#ifdef HAVE_EVENTFD #ifdef HAVE_EVENTFD
if ((internals->pipes[0] = eventfd (0, 0)) == -1) internals->pipes[0] = internals->pipes[1] = eventfd (0, 0);
if (internals->pipes[0] == -1)
#endif #endif
{ {
if (pipe (internals->pipes)) if (pipe (internals->pipes))
......
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