From 26a42e73157417a8a772962a3bbc5297df539cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 27 Jan 2020 16:39:47 +0100 Subject: [PATCH] qemu_shim: cosmetic fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove bogus G_GNUC_UNUSED attribute and add a missing space. Signed-off-by: Ján Tomko Fixes: d6006672788ec0f0290d35c76ceb9672476d1ea8 Reviewed-by: Daniel P. Berrangé Reviewed-by: Andrea Bolognani --- src/qemu/qemu_shim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_shim.c b/src/qemu/qemu_shim.c index f4616f97b2..ccdb4f6b5b 100644 --- a/src/qemu/qemu_shim.c +++ b/src/qemu/qemu_shim.c @@ -45,7 +45,7 @@ qemuShimEventLoop(void *opaque G_GNUC_UNUSED) /* Runs in event loop thread context */ static void qemuShimEventLoopStop(int watch G_GNUC_UNUSED, - int fd G_GNUC_UNUSED, + int fd, int event G_GNUC_UNUSED, void *opaque G_GNUC_UNUSED) { @@ -102,7 +102,7 @@ int main(int argc, char **argv) GOptionContext *ctx; GOptionEntry entries[] = { { "secret", 's', 0, G_OPTION_ARG_STRING_ARRAY, &secrets, "Load secret file", "SECRET-XML-FILE,SECRET-VALUE-FILE" }, - { "root", 'r', 0, G_OPTION_ARG_STRING, &root, "Root directory", "DIR"}, + { "root", 'r', 0, G_OPTION_ARG_STRING, &root, "Root directory", "DIR" }, { "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, "Debug output", NULL }, { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "Verbose output", NULL }, { 0 } -- GitLab