Fixed virGetUNIXSocketPath stub on Win32

The _() macro was not terminated and an argument needs to be marked as
unused.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2018-01-31 17:10:04 +00:00
parent 5b5bff35a8
commit eef9812827

View File

@ -2014,10 +2014,10 @@ char *virGetUNIXSocketPath(int fd)
#else /* HAVE_SYS_UN_H */
char *virGetUNIXSocketPath(int fd)
char *virGetUNIXSocketPath(int fd ATTRIBUTE_UNUSED)
{
virReportSystemError(ENOSYS, "%s",
_("UNIX sockets not supported on this platform");
_("UNIX sockets not supported on this platform"));
return NULL;
}