Skip to content

Commit

Permalink
Merge pull request #8165 from arunagw/warning_removed_unused_variables
Browse files Browse the repository at this point in the history
Removing warning : assigned but unused variable
  • Loading branch information
carlosantoniodasilva committed Nov 10, 2012
2 parents e803f3a + c33c991 commit 62039ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion railties/lib/rails/commands/dbconsole.rb
Expand Up @@ -154,7 +154,7 @@ def find_cmd_and_exec(commands, *args)

full_path_command = nil
found = commands.detect do |cmd|
dir = dirs_on_path.detect do |path|
dirs_on_path.detect do |path|
full_path_command = File.join(path, cmd)
File.executable? full_path_command
end
Expand Down
2 changes: 1 addition & 1 deletion railties/test/commands/console_test.rb
Expand Up @@ -110,7 +110,7 @@ def test_rails_env_is_development_when_argument_is_d

def start(argv = [])
rails_console = Rails::Console.new(app, parse_arguments(argv))
@output = output = capture(:stdout) { rails_console.start }
@output = capture(:stdout) { rails_console.start }
end

def app
Expand Down

0 comments on commit 62039ad

Please sign in to comment.