mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
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:
parent
5b5bff35a8
commit
eef9812827
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user