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:
dabc695
)
W32: placate GCC by initializing lsocks_write_fd to NULL
author
Руслан Ижбулатов
<lrn1986@gmail.com>
Sat, 25 Feb 2017 12:48:55 +0000
(12:48 +0000)
committer
Руслан Ижбулатов
<lrn1986@gmail.com>
Sat, 25 Feb 2017 21:02:56 +0000
(21:02 +0000)
I've treid to find the path where it is used uninitialized, but failed to find it.
Just make GCC shut up.
src/util/os_priority.c
patch
|
blob
|
history
diff --git
a/src/util/os_priority.c
b/src/util/os_priority.c
index b3353974270acd72bc09d7b0553fe5fc92a2a7bf..2c4f7ca098ad85f750a4f44b74340b0e97f6496b 100644
(file)
--- a/
src/util/os_priority.c
+++ b/
src/util/os_priority.c
@@
-1091,7
+1091,10
@@
start_process (int pipe_control,
&lsocks_read, sizeof (HANDLE));
}
else
+ {
lsocks_pipe = NULL;
+ lsocks_write_fd = NULL;
+ }
env_off = 0;
if (GNUNET_YES == pipe_control)