]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: remove dead code
authorBen Iofel <iofelben@gmail.com>
Wed, 30 Sep 2015 03:28:16 +0000 (23:28 -0400)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 30 Sep 2015 08:21:02 +0000 (10:21 +0200)
Fixes bug 755826

vala/valagirparser.vala

index 46cdc779186a6fba8b251a6843233a908ca897e6..89339e7dfce480bcbe6c7a35d6fa782a8a0cfdde 100644 (file)
@@ -1455,8 +1455,6 @@ public class Vala.GirParser : CodeVisitor {
                                ns.add_interface ((Interface) sym);
                        } else if (sym is Method) {
                                ns.add_method ((Method) sym);
-                       } else if (sym is Namespace) {
-                               ns.add_namespace ((Namespace) sym);
                        } else if (sym is Struct) {
                                ns.add_struct ((Struct) sym);
                        }