The _() macro was not terminated and an argument needs to be marked as
unused.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Pushed as a win32 build fix
src/util/virutil.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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;
}
--
2.14.3
Show replies by date