Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2022 23:05:29 +0000
From:      Filipe da Silva Santos <contact@mail.shiori.com.br>
To:        freebsd-current@FreeBSD.org
Subject:   WITH_BHYVE_SNAPSHOT broken after 9cc9abf4
Message-ID:  <86sfkw2nye.fsf@mail.shiori.com.br>

next in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

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

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iJEEARYKADkWIQTiwNfLPLmvvYTb8NynA2ni+ens+gUCYx+7VBscY29udGFjdEBt
YWlsLnNoaW9yaS5jb20uYnIACgkQpwNp4vnp7PoFmQD/SA9z4nJhUyGcVuS55UG3
5JM2/TLo+BAl0NhiUrwxNnAA/2A238OTz1Tg8So7aX1mDaJEEXEGvKFDiOpSgSrz
GOoM
=p5kX
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86sfkw2nye.fsf>