Pacify --enable-gcc-warnings

* src/inotify.c (report_inotify_error): Declare it _Noreturn.
This commit is contained in:
Paul Eggert 2015-09-15 07:28:53 -07:00
parent 67e515d346
commit 7f6b6f1a16

View file

@ -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);