From: Matthias Wachs Date: Fri, 9 Jul 2010 15:34:27 +0000 (+0000) Subject: Fixed compile warnings under windows X-Git-Tag: initial-import-from-subversion-38251~20985 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e68fd9b64ef683e8db4351fe8681437b1c4e41e;p=oweals%2Fgnunet.git Fixed compile warnings under windows --- 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);