Print this page
8485 Remove set but unused variables in usr/src/cmd
*** 18,37 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* 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
--- 18,36 ----
* 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 */
#include "uucp.h"
#define MAXLENGTH 256
#define C_MAX 512
*** 127,143 ****
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);
insert(carray[0]);
}
(void) fclose(cfd);
return;
--- 126,141 ----
rproc()
{
FILE *cfd;
char line[BUFSIZ];
char *carray[C_MAX];
cfd = fopen(GRADES, "r");
while (rdfulline(cfd, line, BUFSIZ) != 0) {
! (void) getargs(line, carray, C_MAX);
insert(carray[0]);
}
(void) fclose(cfd);
return;