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

@@ -18,10 +18,11 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2017 Gary Mills
  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*

@@ -1292,13 +1293,11 @@
 char **argv;
 {
         OM_UINT32 status;
         gss_ctx_id_t *context_handle;
         OM_uint32 minor_status;
-        uid_t uid;
 
-        uid = (uid_t) getuid();
 
         /* parse the command line to determine the variable input argument */
 
         if (argc == 0) {
                 usage();