Fix a -Wunused-but-set-variable instance in master

This commit is contained in:
Nick Mathewson 2011-05-28 01:57:38 -04:00
parent 42b15a0aaa
commit 8e09f7cf10

View File

@ -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 */
}