diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-15 11:59:37 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-15 11:59:37 -0500 |
commit | 26fcb4bb8c9d3f994a678b641db7b1c91fad8346 (patch) | |
tree | 1fdec31af8435f9be718edbbb8463dc361b3533d | |
parent | 3ef40f69937abc105877189fbecd78df67dd2d8e (diff) | |
parent | 4b8d2ad6f57e4e1c21b4af7f20bc7da0d3286f3d (diff) | |
download | tor-26fcb4bb8c9d3f994a678b641db7b1c91fad8346.tar.gz tor-26fcb4bb8c9d3f994a678b641db7b1c91fad8346.zip |
Merge remote-tracking branch 'sebastian/bug4469'
-rw-r--r-- | changes/bug4469 | 4 | ||||
-rw-r--r-- | src/common/util.c | 2 | ||||
-rw-r--r-- | src/or/connection.c | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/changes/bug4469 b/changes/bug4469 new file mode 100644 index 0000000000..e9e390ccfe --- /dev/null +++ b/changes/bug4469 @@ -0,0 +1,4 @@ + o Minor bugfixes: + - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix + on 0.2.3.4-alpha and 0.2.3.6-alpha. + diff --git a/src/common/util.c b/src/common/util.c index 79e09e4f59..c44a4aa3b1 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -3228,6 +3228,8 @@ tor_spawn_background(const char *const filename, const char **argv, SECURITY_ATTRIBUTES saAttr; char *joined_argv; + (void)envp; // Unused on Windows + /* process_handle must not be NULL */ tor_assert(process_handle != NULL); diff --git a/src/or/connection.c b/src/or/connection.c index bf39a5cb9c..a52bf48078 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -996,6 +996,8 @@ connection_create_listener(const struct sockaddr *listensockaddr, tor_close_socket(s); goto err; } +#else + (void)options; #endif /* HAVE_SYS_UN_H */ } else { log_err(LD_BUG,"Got unexpected address family %d.", |