Print this page
8485 Remove set but unused variables in usr/src/cmd

@@ -18,10 +18,11 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2017 Gary Mills
  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */

@@ -199,15 +200,14 @@
 }
 
 
 tchar setht()           /* set character height from \H'...' */
 {
-        int     n;
         tchar c;
 
         getch();
-        n = inumb(&apts);
+        (void) inumb(&apts);
         getch();
         return(0);
 }