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

@@ -18,20 +18,19 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2017 Gary Mills
  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include        "uucp.h"
 
 #define MAXLENGTH 256
 #define C_MAX     512
 

@@ -127,17 +126,16 @@
 rproc()
 {
         FILE *cfd;
         char line[BUFSIZ];
         char *carray[C_MAX];
-        int na;
 
         cfd = fopen(GRADES, "r");
 
         while (rdfulline(cfd, line, BUFSIZ) != 0) {
 
-                na = getargs(line, carray, C_MAX);
+                (void) getargs(line, carray, C_MAX);
                 insert(carray[0]);
         }
 
         (void) fclose(cfd);
         return;