summaryrefslogtreecommitdiff
path: root/usr/src/cmd/print/bsd-sysv-commands/lpr.c
diff options
context:
space:
mode:
authorGary Mills <gary_mills@fastmail.fm>2017-08-12 12:32:18 -0500
committerDan McDonald <danmcd@joyent.com>2017-08-26 21:12:13 -0400
commitd7c57852794a9ac50d4b6a9c4161cb10919658aa (patch)
treef65d8e023522c8e06497e86283b59ad2fce98886 /usr/src/cmd/print/bsd-sysv-commands/lpr.c
parentb31ca922c7346747131aed07c0c171ec2f573aac (diff)
downloadillumos-gate-d7c57852794a9ac50d4b6a9c4161cb10919658aa.tar.gz
8485 Remove set but unused variables in usr/src/cmd
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands/lpr.c')
-rw-r--r--usr/src/cmd/print/bsd-sysv-commands/lpr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/lpr.c b/usr/src/cmd/print/bsd-sysv-commands/lpr.c
index 547e0df36f..b3a95a6c03 100644
--- a/usr/src/cmd/print/bsd-sysv-commands/lpr.c
+++ b/usr/src/cmd/print/bsd-sysv-commands/lpr.c
@@ -20,6 +20,7 @@
*/
/*
+ * Copyright 2017 Gary Mills
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
@@ -27,8 +28,6 @@
/* $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>
@@ -75,7 +74,6 @@ main(int ac, char *av[])
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;
@@ -170,7 +168,6 @@ main(int ac, char *av[])
"rfc-1179-mail", 1);
break;
case 'r':
- remove = 1;
break;
case 's':
copy = 0;