]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a -Wunused-but-set-variable instance in master
authorNick Mathewson <nickm@torproject.org>
Sat, 28 May 2011 05:57:38 +0000 (01:57 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 28 May 2011 05:57:38 +0000 (01:57 -0400)
src/common/util.c

index 717765180065097cef30300ea5b1172e875dd73e..ad321ee0483b393a0da0cfbea38929b736cb021e 100644 (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 */
   }