mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Fix a -Wunused-but-set-variable instance in master
This commit is contained in:
parent
42b15a0aaa
commit
8e09f7cf10
@ -3084,6 +3084,8 @@ tor_spawn_background(const char *const filename, int *stdout_read,
|
||||
nbytes = write(STDOUT_FILENO, error_message, error_message_length);
|
||||
nbytes = write(STDOUT_FILENO, hex_errno, sizeof(hex_errno));
|
||||
|
||||
(void) nbytes;
|
||||
|
||||
_exit(255);
|
||||
return -1; /* Never reached, but avoids compiler warning */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user