aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/utils/process_stub_unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/utils/process_stub_unix.c b/src/libs/utils/process_stub_unix.c
index d7a7ff15b0..856efa26af 100644
--- a/src/libs/utils/process_stub_unix.c
+++ b/src/libs/utils/process_stub_unix.c
@@ -66,7 +66,8 @@ static void __attribute__((noreturn)) doExit(int code)
{
tcsetpgrp(0, getpid());
puts(sleepMsg);
- fgets(sleepMsg, 2, stdin); /* Minimal size to make it wait */
+ const char *rv = fgets(sleepMsg, 2, stdin); /* Minimal size to make it wait */
+ (void)rv; // Q_UNUSED
exit(code);
}