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

@@ -18,18 +18,18 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2017 Gary Mills
  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
 #include <time.h>
 #include "uucp.h"
 
 #ifdef  V7
 #define O_RDONLY        0

@@ -1540,13 +1540,10 @@
 static void
 friendlytime(uplimit, lolimit)
 char *uplimit, *lolimit;
 {
 
-        char c;
-
-        c = *(uplimit+6);
         friendlyptr->uhour[0] = *(uplimit+6);
         friendlyptr->uhour[1] = *(uplimit+7);
         friendlyptr->lhour[0] = *(lolimit+6);
         friendlyptr->lhour[1] = *(lolimit+7);
         friendlyptr->umin[0]  = *(uplimit+8);