remove unused variable
This commit is contained in:
parent
97e62c56fb
commit
98e9811c8d
1 changed files with 0 additions and 2 deletions
2
ls-comma
2
ls-comma
|
|
@ -6,7 +6,6 @@ def main
|
||||||
i = 0
|
i = 0
|
||||||
most_commas = 0
|
most_commas = 0
|
||||||
number_of_commas = []
|
number_of_commas = []
|
||||||
unchanged_line_indexes = []
|
|
||||||
new_lines = lines.map do |line|
|
new_lines = lines.map do |line|
|
||||||
if line =~ /^[-dl][-rwxsS]{9}[@+\s]?/
|
if line =~ /^[-dl][-rwxsS]{9}[@+\s]?/
|
||||||
size = line.split[4]
|
size = line.split[4]
|
||||||
|
|
@ -19,7 +18,6 @@ def main
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
unless new_line
|
unless new_line
|
||||||
unchanged_line_indexes << i
|
|
||||||
number_of_commas << 0
|
number_of_commas << 0
|
||||||
new_line = line
|
new_line = line
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue