]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify --enable-gcc-warnings
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Sep 2015 14:28:53 +0000 (07:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Sep 2015 14:29:20 +0000 (07:29 -0700)
* src/inotify.c (report_inotify_error): Declare it _Noreturn.

src/inotify.c

index 525321b3b4f3ca331ba01bffdf7e94d39bb240cf..3eda877975f3b15d802829c413f6e393b50a32f9 100644 (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);