From nobody Sun Feb 8 14:22:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1580140863510242.8095322981037; Mon, 27 Jan 2020 08:01:03 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-23-oJ8tG1RoO9apuGjWxnYnOg-1; Mon, 27 Jan 2020 11:00:58 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F29C8100551A; Mon, 27 Jan 2020 16:00:51 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C324286433; Mon, 27 Jan 2020 16:00:51 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 755EB18089C8; Mon, 27 Jan 2020 16:00:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00RG0Lda005228 for ; Mon, 27 Jan 2020 11:00:21 -0500 Received: by smtp.corp.redhat.com (Postfix) id C83D581208; Mon, 27 Jan 2020 16:00:21 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.43.2.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5155E811FA for ; Mon, 27 Jan 2020 16:00:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580140862; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6+Yplx2Mf1MqOAjIg6ksl9DBt7VOWvagKDgTXbTpfK8=; b=Bo/s7nEgjYYtlDWOr1V+QJmh4Rw/6mMM+jdrJw4r6GeheuD3AlJwMHCT7j8jLOK4IXJZJP Lsa+QU7YyVYXbvTlDDIH9RymSEG7aDzk0KgP0xkulj5MMjfDTfaB4LASLpgLyYC0NUmimc oltqr9yyY3iYv38so7oydQ5hoI7I1K8= From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/4] qemu_shim: cosmetic fixes Date: Mon, 27 Jan 2020 17:00:12 +0100 Message-Id: <0a0d2d09065eea31e27965947030c00123e1d14b.1580140706.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: oJ8tG1RoO9apuGjWxnYnOg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Remove bogus G_GNUC_UNUSED attribute and add a missing space. Signed-off-by: J=C3=A1n Tomko Fixes: d6006672788ec0f0290d35c76ceb9672476d1ea8 --- 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[] =3D { { "secret", 's', 0, G_OPTION_ARG_STRING_ARRAY, &secrets, "Load sec= ret file", "SECRET-XML-FILE,SECRET-VALUE-FILE" }, - { "root", 'r', 0, G_OPTION_ARG_STRING, &root, "Root directory", "D= IR"}, + { "root", 'r', 0, G_OPTION_ARG_STRING, &root, "Root directory", "D= IR" }, { "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, "Debug output", NULL= }, { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "Verbose output"= , NULL }, { 0 } --=20 2.21.0