From 0dc9caaf95c3ed6038411ebc1f4396f591c44472 Mon Sep 17 00:00:00 2001 From: vlatan <33163699+vlatan@users.noreply.github.com> Date: Wed, 24 Apr 2024 00:46:42 +0200 Subject: [PATCH] Remove repeated assigmnent --- mysqltuner.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 6458cff..5a17edd 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -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);