[pve-devel] [PATCH v2 guest-common 1/2] config: remove unused variable
Fabian Ebner
f.ebner at proxmox.com
Thu Jan 13 12:04:00 CET 2022
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
src/PVE/AbstractConfig.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/PVE/AbstractConfig.pm b/src/PVE/AbstractConfig.pm
index 4ea6c80..0c40062 100644
--- a/src/PVE/AbstractConfig.pm
+++ b/src/PVE/AbstractConfig.pm
@@ -877,8 +877,6 @@ my $snapshot_delete_assert_not_needed_by_replication = sub {
sub snapshot_delete {
my ($class, $vmid, $snapname, $force, $drivehash) = @_;
- my $prepare = 1;
-
my $unused = [];
my $conf = $class->load_config($vmid);
--
2.30.2
More information about the pve-devel
mailing list