From 9009150b81a255111530dbbb29c14d9cb373eb3d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 9 Jan 2017 15:33:10 +0100 Subject: [PATCH] cleanup: drop superfluous condition in assignment Its use later on already uses itself as condition. --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index dc6bd6d..bc26da2 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2915,7 +2915,7 @@ sub config_to_command { } my $rombar = defined($d->{rombar}) && !$d->{rombar} ? ',rombar=0' : ''; - my $romfile = $d->{romfile} if $d->{romfile}; + my $romfile = $d->{romfile}; my $xvga = ''; if ($d->{'x-vga'}) { -- 2.39.2