From 5e68fd9b64ef683e8db4351fe8681437b1c4e41e Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 9 Jul 2010 15:34:27 +0000 Subject: [PATCH] Fixed compile warnings under windows --- src/util/os_priority.c | 5 ++--- 1 file 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) w32_sigchld_handler (); CloseHandle (h); + return 0; } #endif @@ -260,8 +261,7 @@ GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin, HANDLE stdin_handle; HANDLE stdout_handle; #endif - char *fn; - int len; + char *fn = NULL; char path[MAX_PATH + 1]; cmdlen = 0; @@ -630,7 +630,6 @@ GNUNET_OS_process_wait (pid_t proc) return GNUNET_OK; #else HANDLE h; - DWORD c; int ret; h = OpenProcess (PROCESS_QUERY_INFORMATION, FALSE, proc); -- 2.25.1