netutils/telnetd/telnetd_daemon.c: Avoid a warning if CONFIG_NET_SOCKOPTS=n

This commit is contained in:
Gregory Nutt 2020-02-08 10:24:16 -06:00 committed by Xiang Xiao
parent d2522e2821
commit c8dbd59e9a

View File

@ -127,7 +127,9 @@ static int telnetd_daemon(int argc, FAR char *argv[])
int listensd;
int acceptsd;
int drvrfd;
#ifdef CONFIG_NET_SOCKOPTS
int optval;
#endif
int ret;
int fd;