GNOME Bugzilla – Bug 785809
libtracker-data: Drop redundant error path
Last modified: 2017-08-04 13:28:55 UTC
Trivial patch attached.
Created attachment 356944 [details] [review] libtracker-data: Drop redundant error path prepare_for_exec() defines iface as non-nullable, so Vala automatically (and correctly) inserts a g_return_val_if_fail (iface != NULL) for us. That makes this error path redundant and unreachable. Spotted by Coverity (CID #1452447). Signed-off-by: Philip Withnall <withnall@endlessm.com>
Comment on attachment 356944 [details] [review] libtracker-data: Drop redundant error path Makes sense indeed.
Attachment 356944 [details] pushed as bca8505 - libtracker-data: Drop redundant error path