lib&src: remove detected warnings
[nit.git] / src / parser / xss / nodes.xss
index a62df55..e5eb9da 100644 (file)
@@ -54,7 +54,7 @@ redef class PNode
        # Replace itself with an other node in the AST
        fun replace_with(node: PNode)
        do
-               if (_parent != null) then
+               if _parent != null then
                        _parent.replace_child(self, node)
                end
        end