X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Ftset.c;h=7a0f521ec2b1304bf75ec77900cdc910556cd5be;hp=029207678738564b26597c4b1c2a5a7f52212872;hb=29a36e53e1f77a0c3672f2e267d573823d6a9a60;hpb=4298026c68384077462178f8018c8c1add0c3cdf diff --git a/progs/tset.c b/progs/tset.c index 02920767..7a0f521e 100644 --- a/progs/tset.c +++ b/progs/tset.c @@ -96,7 +96,7 @@ char *ttyname(int fd); #endif -MODULE_ID("$Id: tset.c,v 1.107 2016/08/06 20:54:22 tom Exp $") +MODULE_ID("$Id: tset.c,v 1.108 2016/08/20 23:53:44 tom Exp $") #ifndef environ extern char **environ; @@ -492,6 +492,8 @@ get_termcap_entry(int fd, char *userarg) #endif char *ttypath; + (void) fd; + if (userarg) { ttype = userarg; goto found;