From 98e9811c8d94da471f10407336b37997d75fbbd6 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 13 Oct 2012 22:41:55 -0700 Subject: [PATCH] remove unused variable --- ls-comma | 2 -- 1 file changed, 2 deletions(-) diff --git a/ls-comma b/ls-comma index 02e3e50..b83da66 100755 --- a/ls-comma +++ b/ls-comma @@ -6,7 +6,6 @@ def main i = 0 most_commas = 0 number_of_commas = [] - unchanged_line_indexes = [] new_lines = lines.map do |line| if line =~ /^[-dl][-rwxsS]{9}[@+\s]?/ size = line.split[4] @@ -19,7 +18,6 @@ def main end end unless new_line - unchanged_line_indexes << i number_of_commas << 0 new_line = line end