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

vlc_control_cancel: va_start iif va_end

parent 296bf6e2
......@@ -804,8 +804,6 @@ void vlc_control_cancel (int cmd, ...)
#else
va_list ap;
va_start (ap, cmd);
vlc_cancel_t *nfo = vlc_threadvar_get (&cancel_key);
if (nfo == NULL)
{
......@@ -821,6 +819,7 @@ void vlc_control_cancel (int cmd, ...)
#endif
}
va_start (ap, cmd);
switch (cmd)
{
case VLC_SAVE_CANCEL:
......
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