* fhandler_socket.cc (fhandler_socket::wait_for_events): Fix compiler
warning in -O3 case.
(fhandler_socket::connect): Ditto.
* regex/regcomp.c (singleton): Ditto.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
+2015-09-23 Evgeny Grin <k2k@yandex.ru>
+
+ * fhandler_socket.cc (fhandler_socket::wait_for_events): Fix compiler
+ warning in -O3 case.
+ (fhandler_socket::connect): Ditto.
+ * regex/regcomp.c (singleton): Ditto.
+
2015-08-29 Corinna Vinschen <corinna@vinschen.de>
* fhandler_proc.cc (format_proc_cpuinfo): Fetch cache information
return 0;
int ret;
- long events;
+ long events = 0;
while (!(ret = evaluate_events (event_mask, events, !(flags & MSG_PEEK)))
&& !events)
fhandler_socket::connect (const struct sockaddr *name, int namelen)
{
struct sockaddr_storage sst;
- int type;
+ int type = 0;
if (get_inet_addr (name, namelen, &sst, &namelen, &type, connect_secret)
== SOCKET_ERROR)
static wint_t
singleton(cset *cs)
{
- wint_t i, s, n;
+ wint_t i, s = OUT, n;
for (i = n = 0; i < NC; i++)
if (CHIN(cs, i)) {