[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Remove (void)envp from tor_spawn_background
commit ee3a49d6ed157b0d27a31f527bc5a55d0b2dad9d
Author: Robert Ransom <rransom.8774@xxxxxxxxx>
Date: Mon Feb 13 00:47:54 2012 -0800
Remove (void)envp from tor_spawn_background
The envp argument is used on Windows.
---
src/common/util.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/common/util.c b/src/common/util.c
index c8af602..ac65f48 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -3334,8 +3334,6 @@ tor_spawn_background(const char *const filename, const char **argv,
SECURITY_ATTRIBUTES saAttr;
char *joined_argv;
- (void)envp; // Unused on Windows
-
saAttr.nLength = sizeof(SECURITY_ATTRIBUTES);
saAttr.bInheritHandle = TRUE;
/* TODO: should we set explicit security attributes? (#2046, comment 5) */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits