From 10c6af344108a8cfdc431b5b304de9c0fddcec47 Mon Sep 17 00:00:00 2001 From: Filipe da Silva Santos Date: Tue, 13 Sep 2022 08:30:41 +0200 Subject: [PATCH] bhyve: Fix build when BHYVE_SNAPSHOT is set Fixes: 9cc9abf409cc ("bhyve: create all vcpus on startup") Sponsored by: Beckhoff Automation GmbH & Co. KG X-MFC-With: 9cc9abf409cc --- usr.sbin/bhyve/bhyverun.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index 550cc9d1547..27f1d8ea889 100644 --- a/usr.sbin/bhyve/bhyverun.c +++ b/usr.sbin/bhyve/bhyverun.c @@ -1244,7 +1244,6 @@ main(int argc, char *argv[]) #ifdef BHYVE_SNAPSHOT char *restore_file; struct restore_state rstate; - int vcpu; restore_file = NULL; #endif