Skip to content

Commit

Permalink
drop useless intermediate variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Rousse authored and Guillaume Rousse committed Apr 12, 2012
1 parent d9adcc6 commit 0d6b778
Showing 1 changed file with 4 additions and 6 deletions.
Expand Up @@ -33,12 +33,10 @@ sub doInventory {
sub _getUUID {
my (%params) = @_;

my $uuid = getFirstMatch(
pattern => qr/\s+.*uuid\s+([^\)]*)/,
%params
);

return $uuid;
return getFirstMatch(
pattern => qr/\s+.*uuid\s+([^\)]*)/,
%params
);
}

sub _getVirtualMachines {
Expand Down

0 comments on commit 0d6b778

Please sign in to comment.