Commit 2eb916e2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vlc_restorecancel: add an assertion

parent e3e57779
...@@ -880,6 +880,8 @@ void vlc_restorecancel (int state) ...@@ -880,6 +880,8 @@ void vlc_restorecancel (int state)
if (nfo == NULL) if (nfo == NULL)
return; /* Main thread - cannot be cancelled anyway */ return; /* Main thread - cannot be cancelled anyway */
assert (nfo->killable);
nfo->killable = state != 0; nfo->killable = state != 0;
#endif #endif
......
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