remote: disable unused function on win32 platform build

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2018-04-24 19:30:16 +01:00
parent 3b90d0dc1a
commit a762701791

View File

@ -712,6 +712,7 @@ remoteConnectSupportsFeatureUnlocked(virConnectPtr conn,
}
#ifndef WIN32
static char *remoteGetUNIXSocketNonRoot(void)
{
char *sockname = NULL;
@ -729,6 +730,7 @@ static char *remoteGetUNIXSocketNonRoot(void)
VIR_DEBUG("Chosen UNIX sockname %s", sockname);
return sockname;
}
#endif /* WIN32 */
static char *remoteGetUNIXSocketRoot(unsigned int flags)
{