From 699d9f3e788abd996b16bef6c30c90660b6efebe Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 11 Jun 2011 17:35:09 +0000 Subject: fix Ruby 1.9.3 warnings about unused local variables --- lib/coderay/scanner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/scanner.rb') diff --git a/lib/coderay/scanner.rb b/lib/coderay/scanner.rb index 00dce7d..925acf7 100644 --- a/lib/coderay/scanner.rb +++ b/lib/coderay/scanner.rb @@ -67,7 +67,7 @@ module CodeRay # scanner's internal encoding, with invalid and undefined charachters # replaced by placeholders. Always returns a new object. def normalize code - original = code + # original = code code = code.to_s unless code.is_a? ::String if code.respond_to? :encoding code = encode_with_encoding code, self.encoding -- cgit v1.2.1