mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
build: avoid build failure without gnutls
Found while trying to cross-compile to mingw: CC libvirt_driver_remote_la-remote_driver.lo ../../src/remote/remote_driver.c: In function 'doRemoteOpen': ../../src/remote/remote_driver.c:487:23: error: variable 'verify' set but not used [-Werror=unused-but-set-variable] * src/remote/remote_driver.c (doRemoteOpen): Also ignore 'verify'. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
477a619e1b
commit
4e6a78e712
@ -609,6 +609,7 @@ doRemoteOpen(virConnectPtr conn,
|
||||
priv->is_secure = 1;
|
||||
#else
|
||||
(void)sanity;
|
||||
(void)verify;
|
||||
virReportError(VIR_ERR_INVALID_ARG, "%s",
|
||||
_("GNUTLS support not available in this build"));
|
||||
goto failed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user