Skip to content

Commit

Permalink
kill unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jan 11, 2011
1 parent 8c71e8b commit 5696d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/schema_dumper.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def table(table, stream)


# first dump primary key column # first dump primary key column
if @connection.respond_to?(:pk_and_sequence_for) if @connection.respond_to?(:pk_and_sequence_for)
pk, pk_seq = @connection.pk_and_sequence_for(table) pk, _ = @connection.pk_and_sequence_for(table)
elsif @connection.respond_to?(:primary_key) elsif @connection.respond_to?(:primary_key)
pk = @connection.primary_key(table) pk = @connection.primary_key(table)
end end
Expand Down

0 comments on commit 5696d94

Please sign in to comment.