Skip to content

Commit

Permalink
Remove repeated assigmnent
Browse files Browse the repository at this point in the history
  • Loading branch information
vlatan committed Apr 23, 2024
1 parent b2c11b2 commit 0dc9caa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,6 @@ sub os_setup {
chomp($physical_memory);
chomp($swap_memory);
chomp($os);
$physical_memory=$opt{forcemem} if (defined($opt{forcemem}) and $opt{forcemem} gt 0);
$result{'OS'}{'OS Type'} = $os;
$result{'OS'}{'Physical Memory'}{'bytes'} = $physical_memory;
$result{'OS'}{'Physical Memory'}{'pretty'} = hr_bytes($physical_memory);
Expand Down

0 comments on commit 0dc9caa

Please sign in to comment.