summaryrefslogtreecommitdiff
path: root/lib/coderay/scanner.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-06-11 17:35:09 +0000
committermurphy <murphy@rubychan.de>2011-06-11 17:35:09 +0000
commit699d9f3e788abd996b16bef6c30c90660b6efebe (patch)
tree20605c9fddff6d4661b491d688a85e28effdefda /lib/coderay/scanner.rb
parent473e730ff39b64778caa2b20843a6237d7c592c6 (diff)
downloadcoderay-699d9f3e788abd996b16bef6c30c90660b6efebe.tar.gz
fix Ruby 1.9.3 warnings about unused local variables
Diffstat (limited to 'lib/coderay/scanner.rb')
-rw-r--r--lib/coderay/scanner.rb2
1 files changed, 1 insertions, 1 deletions
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