forked from qt-creator/qt-creator
Process_stub: Silence warning about unused return value
Change-Id: I7bc39728c0b7d34b48bb2bdef4295dc17a1e8bc6 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user