diff options
author | Juerg Billeter <j@bitron.ch> | 2008-04-14 19:07:37 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-04-14 19:07:37 +0000 |
commit | 89179ce042596bc60ec569a65cb9295324ff22a5 (patch) | |
tree | 56e4bda0beaa2d869adf40eef93e4b407742d7fe /vala/valavoidtype.vala | |
parent | 94979a22270adeab75d2bfdb74902591d7385450 (diff) | |
download | vala-89179ce042596bc60ec569a65cb9295324ff22a5.tar.gz |
report warning when using null literal as return expression of method
2008-04-14 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report warning when using null
literal as return expression of method returning non-null value
* */*.vala: fix warnings
svn path=/trunk/; revision=1228
Diffstat (limited to 'vala/valavoidtype.vala')
-rw-r--r-- | vala/valavoidtype.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valavoidtype.vala b/vala/valavoidtype.vala index b759166b5..808cb0533 100644 --- a/vala/valavoidtype.vala +++ b/vala/valavoidtype.vala @@ -37,7 +37,7 @@ public class Vala.VoidType : DataType { return "void"; } - public override string get_cname (bool var_type = false, bool const_type = false) { + public override string? get_cname (bool var_type = false, bool const_type = false) { return "void"; } |