diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-25 12:48:55 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-25 21:02:56 +0000 |
commit | 661ee7cbf6edef4b90d4e9565e4ce9c38c7037ac (patch) | |
tree | 1a0aa10db64e01abe89a37257dc5b8a434a897d6 /src/util/os_priority.c | |
parent | dabc6958b35c325a727520f3e68d67bf03c31d61 (diff) | |
download | gnunet-661ee7cbf6edef4b90d4e9565e4ce9c38c7037ac.tar.gz gnunet-661ee7cbf6edef4b90d4e9565e4ce9c38c7037ac.zip |
W32: placate GCC by initializing lsocks_write_fd to NULL
I've treid to find the path where it is used uninitialized, but failed to find it.
Just make GCC shut up.
Diffstat (limited to 'src/util/os_priority.c')
-rw-r--r-- | src/util/os_priority.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index b33539742..2c4f7ca09 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -1091,7 +1091,10 @@ start_process (int pipe_control, | |||
1091 | &lsocks_read, sizeof (HANDLE)); | 1091 | &lsocks_read, sizeof (HANDLE)); |
1092 | } | 1092 | } |
1093 | else | 1093 | else |
1094 | { | ||
1094 | lsocks_pipe = NULL; | 1095 | lsocks_pipe = NULL; |
1096 | lsocks_write_fd = NULL; | ||
1097 | } | ||
1095 | 1098 | ||
1096 | env_off = 0; | 1099 | env_off = 0; |
1097 | if (GNUNET_YES == pipe_control) | 1100 | if (GNUNET_YES == pipe_control) |