projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25967b4
)
Fixed compile warnings under windows
author
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 9 Jul 2010 15:34:27 +0000
(15:34 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 9 Jul 2010 15:34:27 +0000
(15:34 +0000)
src/util/os_priority.c
patch
|
blob
|
history
diff --git
a/src/util/os_priority.c
b/src/util/os_priority.c
index 0200a473853aa2936d7b2116f4146c9d06ff69a8..9384fec118c49ea0d56f1ff7997307ea0cc9f348 100644
(file)
--- 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);