Fix compile warnings on windows

This commit is contained in:
Sebastian Hahn
2011-11-15 13:29:32 +01:00
parent 4af82fb388
commit 4b8d2ad6f5
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -3228,6 +3228,8 @@ tor_spawn_background(const char *const filename, const char **argv,
SECURITY_ATTRIBUTES saAttr;
char *joined_argv;
(void)envp; // Unused on Windows
/* process_handle must not be NULL */
tor_assert(process_handle != NULL);