aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-06-28 02:18:15 -0400
committerNick Mathewson <nickm@torproject.org>2015-06-28 02:18:15 -0400
commitcc3a791d5509d16bcf7a5a3d2bc1ec06dc56419c (patch)
tree9cb5e83e0f0614744d10759690f35bc98872af76 /src
parentf491aed8d03810271f800a04ed1d5f9e76f5af1f (diff)
downloadtor-cc3a791d5509d16bcf7a5a3d2bc1ec06dc56419c.tar.gz
tor-cc3a791d5509d16bcf7a5a3d2bc1ec06dc56419c.zip
fix a windows unused var warning
Diffstat (limited to 'src')
-rw-r--r--src/or/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 7089292b10..0ecf5d1d2f 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -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