diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2012-02-13 00:47:54 -0800 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-17 11:42:20 -0500 |
commit | ee3a49d6ed157b0d27a31f527bc5a55d0b2dad9d (patch) | |
tree | 9640e68c3e5bc993df1be99345ff370cf0864520 /src/common/util.c | |
parent | bf1ce3f53d67c4c0e71f79a108e1eaa04fbfb713 (diff) | |
download | tor-ee3a49d6ed157b0d27a31f527bc5a55d0b2dad9d.tar tor-ee3a49d6ed157b0d27a31f527bc5a55d0b2dad9d.tar.gz |
Remove (void)envp from tor_spawn_background
The envp argument is used on Windows.
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | 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 c8af6029e..ac65f48af 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) */ |