summaryrefslogtreecommitdiff
path: root/vala/valavoidtype.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-14 19:07:37 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-14 19:07:37 +0000
commit89179ce042596bc60ec569a65cb9295324ff22a5 (patch)
tree56e4bda0beaa2d869adf40eef93e4b407742d7fe /vala/valavoidtype.vala
parent94979a22270adeab75d2bfdb74902591d7385450 (diff)
downloadvala-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.vala2
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";
}