diff options
author | Gary Mills <gary_mills@fastmail.fm> | 2017-08-12 12:32:18 -0500 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2017-08-26 21:12:13 -0400 |
commit | d7c57852794a9ac50d4b6a9c4161cb10919658aa (patch) | |
tree | f65d8e023522c8e06497e86283b59ad2fce98886 /usr/src/cmd/print/bsd-sysv-commands/disable.c | |
parent | b31ca922c7346747131aed07c0c171ec2f573aac (diff) | |
download | illumos-joyent-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/disable.c')
-rw-r--r-- | usr/src/cmd/print/bsd-sysv-commands/disable.c | 3 |
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; |