[cairo-bugs] [Bug 58727] warn_unused_result noise

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 6 02:35:29 PDT 2014


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

To fix the warn_unused_result warnings from gcc, assign the return value to a
local variable and then `(void) varname;` to avoid "unused" warnings.

I've referred to the approach followed in the discussion mentioned at the below
URL : http://www.postgresql.org/message-id/514B5688.8090506@dunslane.net

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/20140506/ae7ac432/attachment.html>

More information about the cairo-bugs mailing list