diff options
author | Richard Hughes <richard@hughsie.com> | 2022-04-13 14:47:06 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2022-04-13 14:54:00 +0100 |
commit | 6235bc1a2c5bdcb995760db63f2da61665182ac9 (patch) | |
tree | 275e070dc612a0886d9a2652c38271c077f3232c /client | |
parent | 0883a64dba553b778e04175b0a5b7f1c3c135027 (diff) | |
download | appstream-glib-6235bc1a2c5bdcb995760db63f2da61665182ac9.tar.gz |
trivial: Be explicit when ignoring return error values
Diffstat (limited to 'client')
-rw-r--r-- | client/as-builder.c | 2 | ||||
-rw-r--r-- | client/as-compose.c | 2 | ||||
-rw-r--r-- | client/as-util.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/as-builder.c b/client/as-builder.c index baf81cb..60464bb 100644 --- a/client/as-builder.c +++ b/client/as-builder.c @@ -144,7 +144,7 @@ main (int argc, char **argv) } if (verbose) - g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); + (void)g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); /* set defaults */ if (temp_dir == NULL) diff --git a/client/as-compose.c b/client/as-compose.c index a1104c4..6ad2564 100644 --- a/client/as-compose.c +++ b/client/as-compose.c @@ -360,7 +360,7 @@ main (int argc, char **argv) } if (verbose) - g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); + (void)g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); /* set defaults */ if (prefix == NULL) diff --git a/client/as-util.c b/client/as-util.c index 21621c4..7ce9e1e 100644 --- a/client/as-util.c +++ b/client/as-util.c @@ -4720,7 +4720,7 @@ main (int argc, char *argv[]) /* set verbose? */ if (verbose) { priv->verbose = TRUE; - g_setenv ("G_MESSAGES_DEBUG", "all", FALSE); + (void)g_setenv ("G_MESSAGES_DEBUG", "all", FALSE); } else { g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, as_util_ignore_cb, NULL); |