]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Address -Wunused* warnings in pci_nvme.c
authorMark Johnston <markj@FreeBSD.org>
Sun, 14 Aug 2022 15:56:33 +0000 (11:56 -0400)
committerMark Johnston <markj@FreeBSD.org>
Sun, 14 Aug 2022 15:56:33 +0000 (11:56 -0400)
commitaf86d12c80f10dcd4a57ff7834891890b255087d
treebb8d2637c85a89689c325ebc78f2ec62cf4ae3b1
parent008475d3c83aecb496b2b08086427f68b2f741d5
bhyve: Address -Wunused* warnings in pci_nvme.c

Currently these are not reported because bhyve is compiled with WARNS=2.
Let's start taking small steps towards enabling more warnings.

No functional change intended.

Reviewed by: chuck, imp, emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36118
usr.sbin/bhyve/pci_nvme.c