src: update most tools to new constructors
[nit.git] / src / frontend / div_by_zero.nit
index 5833009..4a8cfb4 100644 (file)
@@ -55,12 +55,6 @@ private class DivByZeroVisitor
        # The mmodule is the current module
        var mmodule: MModule
 
-       init(toolcontext: ToolContext, mmodule: MModule)
-       do
-               self.toolcontext = toolcontext
-               self.mmodule = mmodule
-       end
-
        redef fun visit(node)
        do
                # Recursively visit all sub-nodes