moonbridge

changeset 73:460e457730a2

Another initialization to avoid (wrong) compiler warning
author jbe
date Sat Apr 04 21:51:33 2015 +0200 (2015-04-04)
parents 7764a1fd85e7
children 88541c2aab4d
files moonbridge.c
line diff
     1.1 --- a/moonbridge.c	Sat Apr 04 21:50:37 2015 +0200
     1.2 +++ b/moonbridge.c	Sat Apr 04 21:51:33 2015 +0200
     1.3 @@ -2424,6 +2424,7 @@
     1.4      if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) == -1) goto moonbr_io_xread_impl_error;
     1.5    } else {
     1.6      fd = -1;  /* avoids compiler warning */
     1.7 +    flags = 0;  /* avoids compiler warning */
     1.8    }
     1.9    if (!maxlen) maxlen = -1;
    1.10    terminator = terminatorlen ? terminatorstr[0] : -1;

Impressum / About Us