summaryrefslogtreecommitdiff
path: root/usr/src/cmd/print/bsd-sysv-commands/disable.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2017-08-28 11:57:52 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2017-08-28 11:57:52 +0000
commitfd84e971d4f4598fda8c1792bcc2375d42e82cad (patch)
treebc712d645e864f554f554c4220c3311d02b9b03e /usr/src/cmd/print/bsd-sysv-commands/disable.c
parent4973a49c0046838ad10a0aae797a48bde5022e97 (diff)
parentd7c57852794a9ac50d4b6a9c4161cb10919658aa (diff)
downloadillumos-joyent-fd84e971d4f4598fda8c1792bcc2375d42e82cad.tar.gz
[illumos-gate merge]
commit d7c57852794a9ac50d4b6a9c4161cb10919658aa 8485 Remove set but unused variables in usr/src/cmd
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands/disable.c')
-rw-r--r--usr/src/cmd/print/bsd-sysv-commands/disable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/disable.c b/usr/src/cmd/print/bsd-sysv-commands/disable.c
index 0b3cb71f0c..523eece7aa 100644
--- a/usr/src/cmd/print/bsd-sysv-commands/disable.c
+++ b/usr/src/cmd/print/bsd-sysv-commands/disable.c
@@ -21,6 +21,7 @@
*/
/*
+ * Copyright 2017 Gary Mills
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
@@ -92,7 +93,6 @@ main(int ac, char *av[])
papi_encryption_t encryption = PAPI_ENCRYPT_NEVER;
int exit_status = 0;
int cancel = 0;
- int pending = 0; /* not implemented */
char *reason = NULL;
int c;
@@ -105,7 +105,6 @@ main(int ac, char *av[])
cancel = 1;
break;
case 'W': /* wait for active request, not implemented */
- pending = 1;
break;
case 'r': /* reason */
reason = optarg;