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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/troff/nroff.d/n6.c
          +++ new/usr/src/cmd/troff/nroff.d/n6.c
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   *
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
       23 + * Copyright 2017 Gary Mills
  23   24   * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
  24   25   * Use is subject to license terms.
  25   26   */
  26   27  
  27   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   29  /*        All Rights Reserved   */
  29   30  
  30   31  /*
  31   32   * University Copyright- Copyright (c) 1982, 1986, 1988
  32   33   * The Regents of the University of California
↓ open down ↓ 161 lines elided ↑ open up ↑
 194  195                          getch();
 195  196                  }
 196  197          }
 197  198  
 198  199          return (0);
 199  200  }
 200  201  
 201  202  
 202  203  tchar setht()           /* set character height from \H'...' */
 203  204  {
 204      -        int     n;
 205  205          tchar c;
 206  206  
 207  207          getch();
 208      -        n = inumb(&apts);
      208 +        (void) inumb(&apts);
 209  209          getch();
 210  210          return(0);
 211  211  }
 212  212  
 213  213  
 214  214  tchar setslant()                /* set slant from \S'...' */
 215  215  {
 216  216          int     n;
 217  217          tchar c;
 218  218  
↓ open down ↓ 288 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX