GNOME Bugzilla – Bug 785863
Fixes for coverity errors
Last modified: 2017-08-05 18:34:41 UTC
Attaching/pushing a few patches to fix "Unchecked return value" coverity warnings.
Created attachment 357022 [details] [review] libtracker-data: Add optional() method for tokens that need no retval checks Also makes code clearer, as accept() implies you may react differently on token availability.
Created attachment 357023 [details] [review] libtracker-data: Use optional() to parse a few tokens Fixes a bunch of "unchecked return value" warnings on coverity, it's also clearer to read. Spotted by Coverity (CID#: 1188417, 1188418, 1188428, 1452443, 1452445, 1452449)
Attachment 357022 [details] pushed as 17962ff - libtracker-data: Add optional() method for tokens that need no retval checks Attachment 357023 [details] pushed as 1561d7c - libtracker-data: Use optional() to parse a few tokens