Completely remove unused variable

This commit is contained in:
Marcus Stollsteimer
2013-03-05 22:19:38 +01:00
parent b48ad7da3a
commit 1cac09831d
-1
View File
@@ -3,7 +3,6 @@ module Liquid
def self.slice_collection_using_each(collection, from, to)
segments = []
index = 0
#yielded = 0 # not used
# Maintains Ruby 1.8.7 String#each behaviour on 1.9
return [collection] if non_blank_string?(collection)