Skip to content

Commit

Permalink
FIX: Renamed unused variable
Browse files Browse the repository at this point in the history
This commit removes below interpreter warning.

* warning: assigned but unused variable
  • Loading branch information
kachick committed Apr 4, 2013
1 parent 55f6125 commit db09797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/yell/adapters/datefile.rb
Expand Up @@ -117,7 +117,7 @@ def close?
# in false cleanups).
def cleanup!
files = Dir[ @original_filename.sub( /(\.\w+)?$/, ".*\\1" ) ].sort.select do |file|
created, pattern = header_from(file)
_, pattern = header_from(file)

# Select if the date pattern is nil (no header info available within the file) or
# when the pattern matches.
Expand Down

0 comments on commit db09797

Please sign in to comment.