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

@@ -1,6 +1,7 @@
 /*
+ * Copyright 2017 Gary Mills
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*

@@ -154,13 +155,11 @@
 {
     time_t date;
     time_t now;
     int mask = 0;
     krb5_error_code retval = 0;
-    krb5_boolean no_msg = FALSE;
 
-    krb5_boolean print_usage = FALSE;
     /* Solaris Kerberos */
     char *me = progname;
 
     time(&now);
     if (!strcmp(argv[*i], "-maxtktlife")) {

@@ -300,14 +299,12 @@
             goto err_usage;
 
         mask |=LDAP_REALM_KRBTICKETFLAGS;
     }
 err_usage:
-    print_usage = TRUE;
 
 err_nomsg:
-    no_msg = TRUE;
 
     return mask;
 }
 
 /*