mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Remove (void)envp from tor_spawn_background
The envp argument is used on Windows.
This commit is contained in:
parent
bf1ce3f53d
commit
ee3a49d6ed
1 changed files with 0 additions and 2 deletions
|
@ -3334,8 +3334,6 @@ tor_spawn_background(const char *const filename, const char **argv,
|
||||||
SECURITY_ATTRIBUTES saAttr;
|
SECURITY_ATTRIBUTES saAttr;
|
||||||
char *joined_argv;
|
char *joined_argv;
|
||||||
|
|
||||||
(void)envp; // Unused on Windows
|
|
||||||
|
|
||||||
saAttr.nLength = sizeof(SECURITY_ATTRIBUTES);
|
saAttr.nLength = sizeof(SECURITY_ATTRIBUTES);
|
||||||
saAttr.bInheritHandle = TRUE;
|
saAttr.bInheritHandle = TRUE;
|
||||||
/* TODO: should we set explicit security attributes? (#2046, comment 5) */
|
/* TODO: should we set explicit security attributes? (#2046, comment 5) */
|
||||||
|
|
Loading…
Add table
Reference in a new issue