src: remove useless comparisons on null
[nit.git] / src / semantize / auto_super_init.nit
index 95b2acb..e6feb5c 100644 (file)
@@ -210,7 +210,6 @@ redef class ASendExpr
        redef fun accept_auto_super_init(v)
        do
                var mproperty = self.callsite.mproperty
-               if mproperty == null then return
                if mproperty.is_init then
                        v.has_explicit_super_init = self
                end