From: Daniel P. Berrangé Date: Wed, 31 Jan 2018 17:10:04 +0000 (+0000) Subject: Fixed virGetUNIXSocketPath stub on Win32 X-Git-Tag: v4.1.0-rc1~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eef981282757da2d2cb71306d840360f18a35771;p=thirdparty%2Flibvirt.git 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é --- diff --git a/src/util/virutil.c b/src/util/virutil.c index 8352e0f1f1..c23fa8f92e 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -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; }