nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src: remove useless comparisons on null
[nit.git]
/
src
/
semantize
/
auto_super_init.nit
diff --git
a/src/semantize/auto_super_init.nit
b/src/semantize/auto_super_init.nit
index
95b2acb
..
e6feb5c
100644
(file)
--- a/
src/semantize/auto_super_init.nit
+++ b/
src/semantize/auto_super_init.nit
@@
-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