WITH_BHYVE_SNAPSHOT broken after 9cc9abf4
- Reply: Emmanuel Vadot : "Re: WITH_BHYVE_SNAPSHOT broken after 9cc9abf4"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Sep 2022 23:05:29 UTC
int vcpu declared in line 1247 isn't being used, since it's now being redefined inside the for loop in line 1589. diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index 550cc9d15..27f1d8ea8 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