From ee3a49d6ed157b0d27a31f527bc5a55d0b2dad9d Mon Sep 17 00:00:00 2001 From: Robert Ransom Date: Mon, 13 Feb 2012 00:47:54 -0800 Subject: [PATCH] Remove (void)envp from tor_spawn_background The envp argument is used on Windows. --- src/common/util.c | 2 -- 1 file changed, 2 deletions(-) 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) */