]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix a windows unused var warning
authorNick Mathewson <nickm@torproject.org>
Sun, 28 Jun 2015 06:18:15 +0000 (02:18 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 28 Jun 2015 06:18:15 +0000 (02:18 -0400)
src/or/connection.c

index 7089292b1024529deb4ff2b260f091067c663230..0ecf5d1d2fe3a8eb927e5d0a475340a055dd843c 100644 (file)
@@ -1085,6 +1085,7 @@ connection_listener_new(const struct sockaddr *listensockaddr,
   connection_t *conn = NULL;
   tor_socket_t s = TOR_INVALID_SOCKET;  /* the socket we're going to make */
   or_options_t const *options = get_options();
+  (void) options; /* Windows doesn't use this. */
 #if defined(HAVE_PWD_H) && defined(HAVE_SYS_UN_H)
   const struct passwd *pw = NULL;
 #endif