mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix compile warnings on windows
This commit is contained in:
parent
4af82fb388
commit
4b8d2ad6f5
4
changes/bug4469
Normal file
4
changes/bug4469
Normal file
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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.",
|
||||
|
Loading…
Reference in New Issue
Block a user