diff --git a/src/remote/remote_sockets.c b/src/remote/remote_sockets.c index ed4e4a329c..0f85b999fd 100644 --- a/src/remote/remote_sockets.c +++ b/src/remote/remote_sockets.c @@ -163,7 +163,7 @@ remoteGetUNIXSocket(remoteDriverTransport transport, #ifndef WIN32 const char *env_name = remoteGetDaemonPathEnv(); #else - const char *env_path = NULL; + const char *env_name = NULL; #endif VIR_DEBUG("Choosing remote socket for transport=%s mode=%s driver=%s flags=0x%x",