Fix compiler errors/warnings when compiling with -O3

* 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>
This commit is contained in:
Corinna Vinschen
2015-10-20 12:33:13 +02:00
parent c3b6da1781
commit 67364cbfd9
3 changed files with 10 additions and 3 deletions

View File

@ -1246,7 +1246,7 @@ freeset(struct parse *p, cset *cs)
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)) {