From 8e09f7cf107056f99e47029ccf9a9403ef45bc59 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 28 May 2011 01:57:38 -0400 Subject: [PATCH] Fix a -Wunused-but-set-variable instance in master --- src/common/util.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ } -- 2.47.3