X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Ftset.c;h=9a05b3d06d0a7d1f1ea86b244983dbff6db03406;hp=472146dc4f15d5ceab98bfb0d67d94f634a8fa97;hb=0819b56c3096ed77dd36312b0c4e8f37e7d46c88;hpb=808858ace09b9bf60f7154e33cb6572f49347101 diff --git a/progs/tset.c b/progs/tset.c index 472146dc..9a05b3d0 100644 --- a/progs/tset.c +++ b/progs/tset.c @@ -119,7 +119,7 @@ char *ttyname(int fd); #include #include -MODULE_ID("$Id: tset.c,v 1.95 2015/04/04 15:09:24 tom Exp $") +MODULE_ID("$Id: tset.c,v 1.96 2015/04/12 15:36:06 tom Exp $") /* * SCO defines TIOCGSIZE and the corresponding struct. Other systems (SunOS, @@ -377,7 +377,6 @@ static int tbaudrate(char *rate) { const SPEEDS *sp = 0; - int found = FALSE; size_t n; /* The baudrate number can be preceded by a 'B', which is ignored. */ @@ -386,7 +385,6 @@ tbaudrate(char *rate) for (n = 0; n < SIZEOF(speeds); ++n) { if (!CaselessCmp(rate, speeds[n].string)) { - found = TRUE; sp = speeds + n; break; }