From: Robert Ransom Date: Mon, 13 Feb 2012 08:47:54 +0000 (-0800) Subject: Remove (void)envp from tor_spawn_background X-Git-Tag: tor-0.2.3.13-alpha~82^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee3a49d6ed157b0d27a31f527bc5a55d0b2dad9d;p=thirdparty%2Ftor.git Remove (void)envp from tor_spawn_background The envp argument is used on Windows. --- diff --git a/src/common/util.c b/src/common/util.c index c8af6029ec..ac65f48afb 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) */