vala r2343 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2343 - in trunk: . vala
- Date: Thu, 15 Jan 2009 12:45:58 +0000 (UTC)
Author: juergbi
Date: Thu Jan 15 12:45:57 2009
New Revision: 2343
URL: http://svn.gnome.org/viewvc/vala?rev=2343&view=rev
Log:
2009-01-15 JÃrg Billeter <j bitron ch>
* vala/valaobjectcreationexpression.vala:
Track usage of creation methods to avoid bogus warnings from the
flow analyzer
Modified:
trunk/ChangeLog
trunk/vala/valaobjectcreationexpression.vala
Modified: trunk/vala/valaobjectcreationexpression.vala
==============================================================================
--- trunk/vala/valaobjectcreationexpression.vala (original)
+++ trunk/vala/valaobjectcreationexpression.vala Thu Jan 15 12:45:57 2009
@@ -251,6 +251,11 @@
if (symbol_reference == null) {
symbol_reference = cl.default_construction_method;
+
+ if (symbol_reference != null) {
+ // track usage for flow analyzer
+ symbol_reference.used = true;
+ }
}
while (cl != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]