diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-05-28 01:57:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-28 01:57:38 -0400 |
commit | 8e09f7cf107056f99e47029ccf9a9403ef45bc59 (patch) | |
tree | 12ee4376dc46b93b3d19b1b7ba080cb906eb86fc | |
parent | 42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4 (diff) | |
download | tor-8e09f7cf107056f99e47029ccf9a9403ef45bc59.tar.gz tor-8e09f7cf107056f99e47029ccf9a9403ef45bc59.zip |
Fix a -Wunused-but-set-variable instance in master
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index 7177651800..ad321ee048 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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 */ } |