소스 검색

Remove (void)envp from tor_spawn_background

The envp argument is used on Windows.
Robert Ransom 13 년 전
부모
커밋
ee3a49d6ed
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/common/util.c

+ 0 - 2
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) */