Permalink
Browse files

1.9.3 warning cleanup

[git-p4: depot-paths = "//src/flog/dev/": change = 6508]
  • Loading branch information...
1 parent e1936a1 commit b84ed34a905fc4ea3aedeaa2a3e7fd99a949beb9 @zenspider zenspider committed Aug 12, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/flog.rb
View
8 lib/flog.rb
@@ -535,11 +535,11 @@ def process_block_pass(exp)
def process_call(exp)
penalize_by 0.2 do
- recv = process exp.shift
+ process exp.shift # recv
end
name = exp.shift
penalize_by 0.2 do
- args = process exp.shift
+ process exp.shift # args
end
add_to_score name, SCORES[name]
@@ -583,7 +583,7 @@ def process_defn(exp)
end
def process_defs(exp)
- recv = process exp.shift
+ process exp.shift # recv
in_method "::#{exp.shift}", exp.file, exp.line do
process_until_empty exp
end
@@ -676,7 +676,7 @@ def process_module(exp)
def process_sclass(exp)
penalize_by 0.5 do
- recv = process exp.shift
+ process exp.shift # recv
process_until_empty exp
end

0 comments on commit b84ed34

Please sign in to comment.