aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-28 01:57:38 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-28 01:57:38 -0400
commit8e09f7cf107056f99e47029ccf9a9403ef45bc59 (patch)
tree12ee4376dc46b93b3d19b1b7ba080cb906eb86fc /src/common
parent42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4 (diff)
downloadtor-8e09f7cf107056f99e47029ccf9a9403ef45bc59.tar
tor-8e09f7cf107056f99e47029ccf9a9403ef45bc59.tar.gz
Fix a -Wunused-but-set-variable instance in master
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 717765180..ad321ee04 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 */
}