Commit 07d24dec authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

remove short-living reference warning, too many false positives

2007-11-25  Juerg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: remove short-living reference warning,
	  too many false positives

svn path=/trunk/; revision=720
parent 52ab2cca
2007-11-25 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: remove short-living reference warning,
too many fals positives
2007-11-25 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add binding for g_chmod
......
......@@ -833,11 +833,6 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
return;
}
if (stmt.expression.static_type != null &&
stmt.expression.static_type.transfers_ownership) {
Report.warning (stmt.source_reference, "Short-living reference");
}
stmt.tree_can_fail = stmt.expression.tree_can_fail;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment