aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-11-15 13:29:32 +0100
committerSebastian Hahn <sebastian@torproject.org>2011-11-15 13:34:04 +0100
commit4b8d2ad6f57e4e1c21b4af7f20bc7da0d3286f3d (patch)
tree535dd891a1964a8773395754a3146687222f37b3 /src/common
parent4af82fb3886e8be25ba83a1f93da54bf0d5d7974 (diff)
downloadtor-4b8d2ad6f57e4e1c21b4af7f20bc7da0d3286f3d.tar
tor-4b8d2ad6f57e4e1c21b4af7f20bc7da0d3286f3d.tar.gz
Fix compile warnings on windows
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 79e09e4f5..c44a4aa3b 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -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);