mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix compile warnings on windows
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user