[cairo-bugs] [Bug 58727] warn_unused_result noise

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 14 00:00:14 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=58727

--- Comment #9 from Ravi Nanjundappa <nravi.n at samsung.com> ---
Created attachment 99012
  --> https://bugs.freedesktop.org/attachment.cgi?id=99012&action=edit
Fix warn_unused_result warnings from gcc - 2nd approach

While going through the source code of cairoint.h file, I found one more
simpler approach for handling the warnings.
Attached patch has the changes with this approach. ( except the warning
introduced due to usage of strtol). 
This looks somewhat more cleaner.
Please have a look at the patch and provide your inputs on this.

We can adopt this or the earlier one, depending on the community's opinion.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140514/ce329c1b/attachment.html>


More information about the cairo-bugs mailing list