Skip to content

Commit

Permalink
Remove unnecessary variable initializaiton
Browse files Browse the repository at this point in the history
5abc69f added new rescue behavior for the Solaris mountpoint resovler
but, in doing so, also added unnecessary variable initialization. This
commit removes declaring the mount variable as an empty hash.
  • Loading branch information
mhashizume committed Nov 1, 2024
1 parent 76d7a61 commit 3eed99b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/facter/resolvers/solaris/mountpoints.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def read_mounts(fact_name)

next if fs.mount_type == 'autofs'

mounts = {}
device = fs.name
filesystem = fs.mount_type
path = fs.mount_point
Expand Down

0 comments on commit 3eed99b

Please sign in to comment.