fixing bugs revealed by randomconfig runs

This commit is contained in:
Denis Vlasenko
2007-01-20 16:54:19 +00:00
parent 91f20ab510
commit 316355524f
3 changed files with 9 additions and 3 deletions

View File

@@ -23,8 +23,8 @@ int nc_main(int argc, char **argv)
/* sfd sits _here_ only because of "repeat" option (-l -l). */
int sfd = sfd; /* for gcc */
int cfd = 0;
unsigned lport = 0;
SKIP_NC_SERVER(const) unsigned do_listen = 0;
SKIP_NC_SERVER(const) unsigned lport = 0;
SKIP_NC_EXTRA (const) unsigned wsecs = 0;
SKIP_NC_EXTRA (const) unsigned delay = 0;
SKIP_NC_EXTRA (const int execparam = 0;)