commit | 3e9d168ddd0dde086df94844819fe42dcddcb136 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Feb 24 09:50:15 2017 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Feb 24 09:50:15 2017 +0100 |
tree | af24d5f9ff83818bfe4354f0bc11da3df39cf81d | |
parent | 23edb63836335677330c909e3b5bc85ca460cc83 [diff] [blame] |
session MAINTENANCE some false warnings
diff --git a/src/io.c b/src/io.c index 42e8d6a..507d5e5 100644 --- a/src/io.c +++ b/src/io.c
@@ -561,6 +561,7 @@ } fds.events = POLLIN; + fds.revents = 0; errno = 0; while (((ret = poll(&fds, 1, 0)) == -1) && (errno == EINTR)); @@ -840,7 +841,7 @@ static void nc_write_error(struct wclb_arg *arg, struct nc_server_error *err, const char *prefix) { - uint16_t i, pref_len; + uint16_t i, pref_len = 0; char str_sid[11]; if (prefix) {