]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
D-Bus: Remove extra semicolon to avoid C warning
authorJürg Billeter <j@bitron.ch>
Wed, 23 Mar 2011 21:26:55 +0000 (22:26 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 23 Mar 2011 21:26:55 +0000 (22:26 +0100)
codegen/valagdbusclientmodule.vala

index 6df1a2dc75c5071450daf6aaeedc6ce8bc87be7f..ed71cea66809295737b911254fa6544722769c57 100644 (file)
@@ -182,7 +182,7 @@ public class Vala.GDBusClientModule : GDBusModule {
                define_type.add_argument (new CCodeConstant ("0"));
                define_type.add_argument (new CCodeIdentifier (implement_interface (define_type, iface, iface)));
 
-               cfile.add_type_member_definition (new CCodeExpressionStatement (define_type));
+               cfile.add_type_member_definition (define_type);
 
                var proxy_class_init = new CCodeFunction (lower_cname + "_class_init", "void");
                proxy_class_init.add_parameter (new CCodeParameter ("klass", cname + "Class*"));