From 01aaa97bcdb6d1f32ae8c52cb4c5428e28fef577 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 13 Apr 2022 12:52:59 +0100 Subject: [PATCH] trivial: Ignore the g_unlink() in the offline runner There's not much we can do in this situation anyway... --- src/fu-offline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fu-offline.c b/src/fu-offline.c index dda1b7a40..15f3b087e 100644 --- a/src/fu-offline.c +++ b/src/fu-offline.c @@ -162,7 +162,7 @@ main(int argc, char *argv[]) return EXIT_SUCCESS; /* do this first to avoid a loop if this tool segfaults */ - g_unlink(trigger); + (void)g_unlink(trigger); /* ensure root user */ #ifdef HAVE_GETUID