From c676b7874b55b73a87bb83870e3a75c82a415c1a Mon Sep 17 00:00:00 2001 From: Nikola Pavlica Date: Thu, 27 Aug 2020 10:05:39 +0200 Subject: [PATCH] [fix] inode: add missing return at end of function --- src/misc/inode_watcher.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/misc/inode_watcher.c b/src/misc/inode_watcher.c index a84ba15a..99687baa 100644 --- a/src/misc/inode_watcher.c +++ b/src/misc/inode_watcher.c @@ -71,6 +71,7 @@ void *watchFileProcess(void *name) { inotify_rm_watch(fd, wd); close(fd); alive = 0; + return NULL; } #endif @@ -101,6 +102,7 @@ void *watchFileProcess(void *name) { } free(name); alive = 0; + return NULL; } #endif