summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/python.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/scanners/python.rb
parent473e730ff39b64778caa2b20843a6237d7c592c6 (diff)
downloadcoderay-699d9f3e788abd996b16bef6c30c90660b6efebe.tar.gz
fix Ruby 1.9.3 warnings about unused local variables
Diffstat (limited to 'lib/coderay/scanners/python.rb')
-rw-r--r--lib/coderay/scanners/python.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/python.rb b/lib/coderay/scanners/python.rb
index f0504c7..8556ba9 100644
--- a/lib/coderay/scanners/python.rb
+++ b/lib/coderay/scanners/python.rb
@@ -107,7 +107,7 @@ module Scanners
string_raw = false
string_type = nil
docstring_coming = match?(/#{DOCSTRING_COMING}/o)
- import_clause = class_name_follows = last_token_dot = false
+ last_token_dot = false
unicode = string.respond_to?(:encoding) && string.encoding.name == 'UTF-8'
from_import_state = []