Print this page
8485 Remove set but unused variables in usr/src/cmd
@@ -19,10 +19,11 @@
*
* CDDL HEADER END
*/
/*
+ * Copyright 2017 Gary Mills
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
@@ -90,11 +91,10 @@
papi_status_t status;
papi_service_t svc = NULL;
papi_encryption_t encryption = PAPI_ENCRYPT_NEVER;
int exit_status = 0;
int cancel = 0;
- int pending = 0; /* not implemented */
char *reason = NULL;
int c;
(void) setlocale(LC_ALL, "");
(void) textdomain("SUNW_OST_OSCMD");
@@ -103,11 +103,10 @@
switch (c) {
case 'c': /* cancel active job first */
cancel = 1;
break;
case 'W': /* wait for active request, not implemented */
- pending = 1;
break;
case 'r': /* reason */
reason = optarg;
break;
case 'E':