mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
Use ATTR_UNUSED instead of void casting
This commit is contained in:
@ -93,8 +93,7 @@ bool TraceScreen_forkTracer(TraceScreen* this) {
|
||||
|
||||
// Should never reach here, unless execlp fails ...
|
||||
const char* message = "Could not execute 'strace'. Please make sure it is available in your $PATH.";
|
||||
ssize_t written = write(STDERR_FILENO, message, strlen(message));
|
||||
(void) written;
|
||||
(void)! write(STDERR_FILENO, message, strlen(message));
|
||||
|
||||
exit(127);
|
||||
}
|
||||
|
Reference in New Issue
Block a user