From ba9ea2ad7dd15d9a2e9c7a5b9a8a3e7066351015 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Mon, 22 Jan 2018 14:51:11 +0100 Subject: [PATCH] qemu: Don't initialize struct utsname It breaks the build and it is not really useful for anything. Signed-off-by: Jiri Denemark --- src/qemu/qemu_capabilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 2c573827f1..5e03447baa 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -5431,7 +5431,7 @@ virQEMUCapsCacheNew(const char *libDir, char *capsCacheDir = NULL; virFileCachePtr cache = NULL; virQEMUCapsCachePrivPtr priv = NULL; - struct utsname uts = { 0 }; + struct utsname uts; if (virAsprintf(&capsCacheDir, "%s/capabilities", cacheDir) < 0) goto error;