From: Laine Stump Date: Fri, 4 Nov 2011 20:10:54 +0000 (-0400) Subject: remote: fix mingw32 build X-Git-Tag: v0.9.7~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53c91e999c865f835cbf45d172f2728d4ea6b12b;p=thirdparty%2Flibvirt.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. --- diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index ea7fb24f89..f3b8ad57d0 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -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. */