[cairo-bugs] [Bug 58727] warn_unused_result noise
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 6 07:20:41 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=58727
--- Comment #2 from Daniel Macks <dmacks at netspace.org> ---
I'm not a machine with compilers right now to test, but you cast the
function-call to void rather than assigning to a temp-variable? Instead of:
int unused;
unused=some_function_with_attribute_wur(foo);
(void) unused;
Just:
(void) some_function_with_attribute_wur(foo);
--
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/b6414e14/attachment.html>
More information about the cairo-bugs
mailing list