diff options
| author | Paul Eggert | 2015-09-15 07:28:53 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-15 07:29:20 -0700 |
| commit | 7f6b6f1a165b5a52481aa3b1d06ac4cdbce24da3 (patch) | |
| tree | 55964d3382d433b50cf5c1d5ae0af773f50372be /src | |
| parent | 67e515d346a32db16b5e7e0a2ec0b0a18b2fbe4e (diff) | |
| download | emacs-7f6b6f1a165b5a52481aa3b1d06ac4cdbce24da3.tar.gz emacs-7f6b6f1a165b5a52481aa3b1d06ac4cdbce24da3.zip | |
Pacify --enable-gcc-warnings
* src/inotify.c (report_inotify_error): Declare it _Noreturn.
Diffstat (limited to 'src')
| -rw-r--r-- | src/inotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | /* Like report_file_error, but reports a file-notify-error instead. */ | 119 | /* Like report_file_error, but reports a file-notify-error instead. */ |
| 120 | static void | 120 | static _Noreturn void |
| 121 | report_inotify_error (const char *string, Lisp_Object name) | 121 | report_inotify_error (const char *string, Lisp_Object name) |
| 122 | { | 122 | { |
| 123 | Lisp_Object data = CONSP (name) || NILP (name) ? name : list1 (name); | 123 | Lisp_Object data = CONSP (name) || NILP (name) ? name : list1 (name); |