summaryrefslogtreecommitdiff
path: root/client/as-util.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2022-04-13 14:47:06 +0100
committerRichard Hughes <richard@hughsie.com>2022-04-13 14:54:00 +0100
commit6235bc1a2c5bdcb995760db63f2da61665182ac9 (patch)
tree275e070dc612a0886d9a2652c38271c077f3232c /client/as-util.c
parent0883a64dba553b778e04175b0a5b7f1c3c135027 (diff)
downloadappstream-glib-6235bc1a2c5bdcb995760db63f2da61665182ac9.tar.gz
trivial: Be explicit when ignoring return error values
Diffstat (limited to 'client/as-util.c')
-rw-r--r--client/as-util.c2
1 files changed, 1 insertions, 1 deletions
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);