mirror of https://gitee.com/openkylin/libvirt.git
remote: fix mingw32 build
tty is initialized, and later set in code that is compiled for all platforms, but is only used in a section that's inside #ifndef WIN32.
This commit is contained in:
parent
04d2a7f253
commit
53c91e999c
|
@ -377,7 +377,7 @@ doRemoteOpen (virConnectPtr conn,
|
|||
*/
|
||||
char *name = NULL, *command = NULL, *sockname = NULL, *netcat = NULL;
|
||||
char *port = NULL, *authtype = NULL, *username = NULL;
|
||||
bool sanity = true, verify = true, tty = true;
|
||||
bool sanity = true, verify = true, tty ATTRIBUTE_UNUSED = true;
|
||||
char *pkipath = NULL, *keyfile = NULL;
|
||||
|
||||
/* Return code from this function, and the private data. */
|
||||
|
|
Loading…
Reference in New Issue