summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorAmos Shapira <ashapira@atlassian.com>2013-04-01 14:52:07 +1100
committerJeff McCune <jeff@puppetlabs.com>2013-04-03 14:05:20 -0700
commite7d394b6e9fc3ca07803d18fcf2f5d19b91e92e0 (patch)
tree800213f6b405e8875f19ba40330d46cd384746dd /lib/puppet
parent003cde074c86f034d2730eeb40d676d4e35c6022 (diff)
downloadpuppet-stdlib-e7d394b6e9fc3ca07803d18fcf2f5d19b91e92e0.tar.gz
puppet-stdlib-e7d394b6e9fc3ca07803d18fcf2f5d19b91e92e0.tar.bz2
Remove resundant code
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/functions/any2array.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/any2array.rb b/lib/puppet/parser/functions/any2array.rb
index 95944e1..e71407e 100644
--- a/lib/puppet/parser/functions/any2array.rb
+++ b/lib/puppet/parser/functions/any2array.rb
@@ -23,8 +23,6 @@ converted to arrays of alternating keys and values.
result << key << value
end
return result
- else
- return [arguments[0]]
end
end