mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu_shim: cosmetic fixes
Remove bogus G_GNUC_UNUSED attribute and add a missing space. Signed-off-by: Ján Tomko <jtomko@redhat.com> Fixes: d6006672788ec0f0290d35c76ceb9672476d1ea8 Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
fe8921c27b
commit
26a42e7315
@ -45,7 +45,7 @@ qemuShimEventLoop(void *opaque G_GNUC_UNUSED)
|
|||||||
/* Runs in event loop thread context */
|
/* Runs in event loop thread context */
|
||||||
static void
|
static void
|
||||||
qemuShimEventLoopStop(int watch G_GNUC_UNUSED,
|
qemuShimEventLoopStop(int watch G_GNUC_UNUSED,
|
||||||
int fd G_GNUC_UNUSED,
|
int fd,
|
||||||
int event G_GNUC_UNUSED,
|
int event G_GNUC_UNUSED,
|
||||||
void *opaque G_GNUC_UNUSED)
|
void *opaque G_GNUC_UNUSED)
|
||||||
{
|
{
|
||||||
@ -102,7 +102,7 @@ int main(int argc, char **argv)
|
|||||||
GOptionContext *ctx;
|
GOptionContext *ctx;
|
||||||
GOptionEntry entries[] = {
|
GOptionEntry entries[] = {
|
||||||
{ "secret", 's', 0, G_OPTION_ARG_STRING_ARRAY, &secrets, "Load secret file", "SECRET-XML-FILE,SECRET-VALUE-FILE" },
|
{ "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 },
|
{ "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, "Debug output", NULL },
|
||||||
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "Verbose output", NULL },
|
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "Verbose output", NULL },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user