Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

1.9.3 warning cleanup

[git-p4: depot-paths = "//src/flog/dev/": change = 6508]
  • Loading branch information...
commit b84ed34a905fc4ea3aedeaa2a3e7fd99a949beb9 1 parent e1936a1
Ryan Davis zenspider authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 lib/flog.rb
8 lib/flog.rb
@@ -535,11 +535,11 @@ def process_block_pass(exp)
535 535
536 536 def process_call(exp)
537 537 penalize_by 0.2 do
538   - recv = process exp.shift
  538 + process exp.shift # recv
539 539 end
540 540 name = exp.shift
541 541 penalize_by 0.2 do
542   - args = process exp.shift
  542 + process exp.shift # args
543 543 end
544 544
545 545 add_to_score name, SCORES[name]
@@ -583,7 +583,7 @@ def process_defn(exp)
583 583 end
584 584
585 585 def process_defs(exp)
586   - recv = process exp.shift
  586 + process exp.shift # recv
587 587 in_method "::#{exp.shift}", exp.file, exp.line do
588 588 process_until_empty exp
589 589 end
@@ -676,7 +676,7 @@ def process_module(exp)
676 676
677 677 def process_sclass(exp)
678 678 penalize_by 0.5 do
679   - recv = process exp.shift
  679 + process exp.shift # recv
680 680 process_until_empty exp
681 681 end
682 682

0 comments on commit b84ed34

Please sign in to comment.
Something went wrong with that request. Please try again.