Print this page
8485 Remove set but unused variables in usr/src/cmd
*** 18,36 ****
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
/* $Id: lpr.c 146 2006-03-24 00:26:54Z njacobs $ */
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <locale.h>
--- 18,35 ----
*
* CDDL HEADER END
*/
/*
+ * Copyright 2017 Gary Mills
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
/* $Id: lpr.c 146 2006-03-24 00:26:54Z njacobs $ */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <locale.h>
*** 73,83 ****
char prefetch[3];
int prefetch_len = sizeof (prefetch);
papi_encryption_t encryption = PAPI_ENCRYPT_NEVER;
int dump = 0;
int validate = 0;
- int remove = 0;
int copy = 1; /* default is to copy the data */
char *document_format = "text/plain";
int c;
(void) setlocale(LC_ALL, "");
--- 72,81 ----
*** 168,178 ****
case 'm':
papiAttributeListAddBoolean(&list, PAPI_ATTR_EXCL,
"rfc-1179-mail", 1);
break;
case 'r':
- remove = 1;
break;
case 's':
copy = 0;
break;
case 'V': /* validate */
--- 166,175 ----