From 7f6b6f1a165b5a52481aa3b1d06ac4cdbce24da3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 15 Sep 2015 07:28:53 -0700 Subject: [PATCH] Pacify --enable-gcc-warnings * src/inotify.c (report_inotify_error): Declare it _Noreturn. --- src/inotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inotify.c b/src/inotify.c index 525321b3b4f..3eda877975f 100644 --- a/src/inotify.c +++ b/src/inotify.c @@ -117,7 +117,7 @@ inotifyevent_to_event (Lisp_Object watch_object, struct inotify_event const *ev) } /* Like report_file_error, but reports a file-notify-error instead. */ -static void +static _Noreturn void report_inotify_error (const char *string, Lisp_Object name) { Lisp_Object data = CONSP (name) || NILP (name) ? name : list1 (name); -- 2.39.2