Skip to content
Snippets Groups Projects
Commit fd516a57 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

posix: add suggested noreturn qualifier

parent 96160ffb
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@
#include "libvlc.h"
#include <stdarg.h>
#include <stdatomic.h>
#include <stdnoreturn.h>
#include <signal.h>
#include <errno.h>
#include <time.h>
......@@ -553,7 +554,7 @@ void vlc_testcancel (void)
pthread_testcancel ();
}
void vlc_control_cancel (int cmd, ...)
noreturn void vlc_control_cancel (int cmd, ...)
{
(void) cmd;
vlc_assert_unreachable ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment