contrib/pep8analysis: fixes useless empty init
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 20:58:00 +0000 (15:58 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 20:58:00 +0000 (15:58 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

contrib/pep8analysis/src/ast/pretty_instructions.nit
contrib/pep8analysis/src/backbone.nit
contrib/pep8analysis/src/flow_analysis/reaching_defs.nit
contrib/pep8analysis/src/parser/parser.nit

index 98380f7..5b56ebe 100644 (file)
@@ -25,7 +25,6 @@ class ASTPrinter
 
        var str = "" is writable
 
-       init do end
        redef fun visit(n) do n.accept_ast_printer(self)
 end
 
index 02042bd..d731e41 100644 (file)
@@ -5,8 +5,6 @@ import parser
 class AnalysisManager
        super Noter
        var opts = new OptionContext
-
-       init do end
 end
 
 abstract class Noter
index 052d8df..0df593b 100644 (file)
@@ -14,7 +14,6 @@ end
 class ReachingDefsAnalysis
        super FineFlowAnalysis[ReachingDefsMap]
 
-       init do end
        redef fun is_forward do return true
 
        redef fun visit( node )
index 4fd6be1..2be9a9a 100644 (file)
@@ -292,8 +292,6 @@ private class ComputeProdLocationVisitor
                        end
                end
        end
-
-       init do end
 end
 
 # Each reduca action has its own class, this one is the root of the hierarchy.