examples/rosettacode: fixes unread variables
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 21:17:07 +0000 (16:17 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 21:17:07 +0000 (16:17 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

examples/rosettacode/align_columns.nit

index ec09a4c..edbee46 100644 (file)
@@ -13,7 +13,6 @@ fun aligner(text: String, left: Float)
 do
        # Each row is a sequence of fields
        var rows = new Array[Array[String]]
-       var max = 0
        for line in text.split('\n') do
                rows.add line.split("$")
        end