Print this page
8485 Remove set but unused variables in usr/src/cmd

*** 19,28 **** --- 19,29 ---- * * CDDL HEADER END */ /* + * Copyright 2017 Gary Mills * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * */
*** 90,100 **** 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"); --- 91,100 ----
*** 103,113 **** 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': --- 103,112 ----