File inotify-tools-3.13-no-return-in-nonvoid-function.patch of Package inotify-tools

Index: inotify-tools-3.13/libinotifytools/src/inotifytools.c
===================================================================
--- inotify-tools-3.13.orig/libinotifytools/src/inotifytools.c
+++ inotify-tools-3.13/libinotifytools/src/inotifytools.c
@@ -890,6 +890,7 @@ watch *create_watch(int wd, char *filena
 	w->filename = strdup(filename);
 	rbsearch(w, tree_wd);
 	rbsearch(w, tree_filename);
+	return w;
 }
 
 /**