]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - progs/tset.c
ncurses 5.9 - patch 20150418
[ncurses.git] / progs / tset.c
index 472146dc4f15d5ceab98bfb0d67d94f634a8fa97..9a05b3d06d0a7d1f1ea86b244983dbff6db03406 100644 (file)
@@ -119,7 +119,7 @@ char *ttyname(int fd);
 #include <dump_entry.h>
 #include <transform.h>
 
-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;
        }