GNOME Bugzilla – Bug 753942
Return value error in tracker_miner_files_peer_listener_is_file_watched
Last modified: 2015-09-02 02:34:15 UTC
These errors showed when compiling tracker with clang: tracker-miner-files-peer-listener.c:449:2: error: non-void function 'tracker_miner_files_peer_listener_is_file_watched' should return a value [-Wreturn-type] g_return_if_fail (TRACKER_IS_MINER_FILES_PEER_LISTENER (listener)); ^ /home/lantw44/gnome/devinstall/include/glib-2.0/glib/gmessages.h:379:3: note: expanded from macro 'g_return_if_fail' return; \ ^ tracker-miner-files-peer-listener.c:450:2: error: non-void function 'tracker_miner_files_peer_listener_is_file_watched' should return a value [-Wreturn-type] g_return_if_fail (G_IS_FILE (file)); ^ /home/lantw44/gnome/devinstall/include/glib-2.0/glib/gmessages.h:379:3: note: expanded from macro 'g_return_if_fail' return; \ ^ 2 errors generated.
Created attachment 309831 [details] [review] build: Fix return value error for tracker_miner_files_peer_listener_is_file_watched
Review of attachment 309831 [details] [review]: Patch looks good, please commit! :)
Attachment 309831 [details] pushed as 2d550c5 - build: Fix return value error for tracker_miner_files_peer_listener_is_file_watched