<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - warn_unused_result noise"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58727#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - warn_unused_result noise"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58727">bug 58727</a>
from <span class="vcard"><a class="email" href="mailto:nravi.n@samsung.com" title="Ravi Nanjundappa <nravi.n@samsung.com>"> <span class="fn">Ravi Nanjundappa</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=98546" name="attach_98546" title="Fix warn_unused_result warnings from gcc">attachment 98546</a> <a href="attachment.cgi?id=98546&action=edit" title="Fix warn_unused_result warnings from gcc">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=58727&attachment=98546'>[review]</a>
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
link.
URL : <a href="http://www.postgresql.org/message-id/514B5688.8090506@dunslane.net">http://www.postgresql.org/message-id/514B5688.8090506@dunslane.net</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>