<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"	>
<channel>
	<title>Comments on: Unused results</title>
	<atom:link href="http://tecnocode.co.uk/2009/04/20/unused-results/feed/" rel="self" type="application/rss+xml" />
	<link>http://tecnocode.co.uk/2009/04/20/unused-results/</link>
	<description>Ramblings on computers…</description>
	<lastBuildDate>Fri, 20 Jan 2012 21:19:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Matthew Barnes</title>
		<link>http://tecnocode.co.uk/2009/04/20/unused-results/comment-page-1/#comment-608</link>
		<dc:creator>Matthew Barnes</dc:creator>
		<pubDate>Wed, 22 Apr 2009 21:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://tecnocode.co.uk/?p=229#comment-608</guid>
		<description>Probably not widely used due to laziness and/or just not knowing about the feature.  Please do add it.</description>
		<content:encoded><![CDATA[<p>Probably not widely used due to laziness and/or just not knowing about the feature.  Please do add it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ka-Hing Cheung</title>
		<link>http://tecnocode.co.uk/2009/04/20/unused-results/comment-page-1/#comment-606</link>
		<dc:creator>Ka-Hing Cheung</dc:creator>
		<pubDate>Mon, 20 Apr 2009 23:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://tecnocode.co.uk/?p=229#comment-606</guid>
		<description>it&#039;s more commonly used to denote error checkings that must be done, I think the rationale is that if your function allocates something, then it probably doesn&#039;t make sense for the caller to ever to save the result, so this type of error is very rare.

My coworker wrote a dehydra script to check that all functions that return an error code have that attribute set, a similar thing can probably be done to constructors.</description>
		<content:encoded><![CDATA[<p>it's more commonly used to denote error checkings that must be done, I think the rationale is that if your function allocates something, then it probably doesn't make sense for the caller to ever to save the result, so this type of error is very rare.</p>
<p>My coworker wrote a dehydra script to check that all functions that return an error code have that attribute set, a similar thing can probably be done to constructors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Withnall</title>
		<link>http://tecnocode.co.uk/2009/04/20/unused-results/comment-page-1/#comment-605</link>
		<dc:creator>Philip Withnall</dc:creator>
		<pubDate>Mon, 20 Apr 2009 21:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://tecnocode.co.uk/?p=229#comment-605</guid>
		<description>Mark: I&#039;ve just checked, and I don&#039;t get warned about it if the attribute isn&#039;t there. What warning options are you using?</description>
		<content:encoded><![CDATA[<p>Mark: I've just checked, and I don't get warned about it if the attribute isn't there. What warning options are you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes Berg</title>
		<link>http://tecnocode.co.uk/2009/04/20/unused-results/comment-page-1/#comment-604</link>
		<dc:creator>Johannes Berg</dc:creator>
		<pubDate>Mon, 20 Apr 2009 21:34:20 +0000</pubDate>
		<guid isPermaLink="false">http://tecnocode.co.uk/?p=229#comment-604</guid>
		<description>The Linux kernel actually uses it that way, but we call it __must_check (IIRC).</description>
		<content:encoded><![CDATA[<p>The Linux kernel actually uses it that way, but we call it __must_check (IIRC).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://tecnocode.co.uk/2009/04/20/unused-results/comment-page-1/#comment-603</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 20 Apr 2009 21:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://tecnocode.co.uk/?p=229#comment-603</guid>
		<description>I can tell you why: because gcc already warns about that by default :)</description>
		<content:encoded><![CDATA[<p>I can tell you why: because gcc already warns about that by default <img src='http://tecnocode.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.545 seconds -->

