Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(maint) Fix unused argument and variable in file_spec.rb #2260

Merged
merged 1 commit into from
Jan 14, 2014

Conversation

glennpratt
Copy link
Contributor

Noticed this unused argument while working on #2168.

@@ -79,7 +79,7 @@ def spawn_process_that_locks(file)

def increment_counter_in_multiple_processes(file, num_procs, options)
children = []
5.times do |number|
num_procs.times do |number|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can drop the |number| as well since it's unused.

@peterhuene
Copy link
Contributor

Could you prefix your commit message to have (maint) since this isn't directly related to an issue? Thanks.

@glennpratt
Copy link
Contributor Author

Done and done.

peterhuene added a commit that referenced this pull request Jan 14, 2014
(maint) Fix unused argument and variable in file_spec.rb
@peterhuene peterhuene merged commit 232f764 into puppetlabs:master Jan 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants