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

vlc_savecancel: missing return value on main thread

We return true to pass killable assertion in vlc_restorecancel()
parent 2eb916e2
......@@ -843,7 +843,7 @@ int vlc_savecancel (void)
#else
vlc_cancel_t *nfo = vlc_threadvar_get (&cancel_key);
if (nfo == NULL)
return; /* Main thread - cannot be cancelled anyway */
return true; /* Main thread - cannot be cancelled anyway */
state = nfo->killable;
nfo->killable = false;
......
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