aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-07-09 15:34:27 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-07-09 15:34:27 +0000
commit5e68fd9b64ef683e8db4351fe8681437b1c4e41e (patch)
tree7d8f5889119f56b49fa9d7bb9ce0cc8908ed6ccd
parent25967b43c64bb9258b533f8f414d5ad56e7d1195 (diff)
downloadgnunet-5e68fd9b64ef683e8db4351fe8681437b1c4e41e.tar.gz
gnunet-5e68fd9b64ef683e8db4351fe8681437b1c4e41e.zip
Fixed compile warnings under windows
-rw-r--r--src/util/os_priority.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c
index 0200a4738..9384fec11 100644
--- a/src/util/os_priority.c
+++ b/src/util/os_priority.c
@@ -47,6 +47,7 @@ ChildWaitThread (HANDLE h)
47 w32_sigchld_handler (); 47 w32_sigchld_handler ();
48 48
49 CloseHandle (h); 49 CloseHandle (h);
50 return 0;
50} 51}
51#endif 52#endif
52 53
@@ -260,8 +261,7 @@ GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin,
260 HANDLE stdin_handle; 261 HANDLE stdin_handle;
261 HANDLE stdout_handle; 262 HANDLE stdout_handle;
262#endif 263#endif
263 char *fn; 264 char *fn = NULL;
264 int len;
265 char path[MAX_PATH + 1]; 265 char path[MAX_PATH + 1];
266 266
267 cmdlen = 0; 267 cmdlen = 0;
@@ -630,7 +630,6 @@ GNUNET_OS_process_wait (pid_t proc)
630 return GNUNET_OK; 630 return GNUNET_OK;
631#else 631#else
632 HANDLE h; 632 HANDLE h;
633 DWORD c;
634 int ret; 633 int ret;
635 634
636 h = OpenProcess (PROCESS_QUERY_INFORMATION, FALSE, proc); 635 h = OpenProcess (PROCESS_QUERY_INFORMATION, FALSE, proc);